Web Tool Bag  
Home · Articles · Downloads · Discussion Forum · Web Links · News Categories · Synonyms DatabaseNovember 19 2017 16:07:02
Navigation
Home
Articles
Downloads
Discussion Forum
Web Links
News Categories
Synonyms Database
Search
Users Online
Guests Online: 1
No Members Online

Registered Members: 856
Unactivated Members: 118
Newest Member: lakim
Forum Threads
Newest Threads
Uncaught Error: _reg...
Module build failed:...
Installation
mochi script questions
Redirect with captch...
Hottest Threads
Installation [12]
Any questions and... [5]
Captcha picture d... [4]
Integrate with Vi... [4]
Mods: Sucess/Than... [4]
 
Latest Articles
PHP Fatal error: Ca...
Mouse pointer disapp...
UBUNTU install via U...
Geany tried to acces...
How to create MySql ...
How to Remove an Error
I've intentionally separated the act of examining a program's execution from the act of fixing an
error. But of course, debugging does also mean removing the bug. Ideally you will have perfect
understanding of the code and will reach an ‘A-Ha!’ moment where you perfectly see the error and
how to fix it. But since your program will often use insufficiently documented systems into which
you have no visibility, this is not always possible. In other cases the code is so complicated that
your understanding cannot be perfect.
In fixing a bug, you want to make the smallest change that fixes the bug. You may see other things
that need improvement; but don't fix those at the same time. Attempt to employ the scientific
method of changing one thing and only one thing at a time. The best process for this is to be able
to easily reproduce the bug, then put your fix in place, and then rerun the program and observe
that the bug no longer exists. Of course, sometimes more than one line must be changed, but you
should still conceptually apply a single atomic change to fix the bug.
Sometimes, there are really several bugs that look like one. It is up to you to define the bugs and
fix them one at a time. Sometimes it is unclear what the program should do or what the original
author intended. In this case, you must exercise your experience and judgment and assign your
own meaning to the code. Decide what it should do, and comment it or clarify it in some way and
then make the code conform to your meaning. This is an intermediate or advanced skill that is
sometimes harder than writing the original function in the first place, but the real world is often
messy. You may have to fix a system you cannot rewrite.

by Robert L. Read

Posted by admin on July 12 2010 13:04:12 3330 Reads · Print
Ratings
Rating is available to Members only.

Please login or register to vote.

No Ratings have been Posted.
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Which PHP framework do you preffer?

Symfony

Zend

CodeIgniter

PHP on TRAX

eZ Components

Fusebox

PhpOpenbiz

Prado

QPHP

Seagull

You must login to vote.
Shoutbox
You must login to post a message.

Vince
03/10/2011 21:17
Hi, How to remove Register from Login screen? I don't want them to register and have full access! if you leave register then they should not have any rights until the admin assigns them

webtoolz
26/09/2011 11:28
Please describe your problem with more details. Thank you.

bimmer98
22/11/2010 20:31
Help. There was a problem with the request; error regarding feedbackzdr form program

Copyright © 2017 - www.webtoolbag.com