Debugger Articles about
Debugger
 

Information About

Debugger




When the program crashes, the debugger shows the position in the original code if it is a source-level debugger or '''symbolic debugger''', commonly seen in Integrated Development Environment s. If it is a '''low-level debugger''' or a '''machine-language debugger''' it shows the line in the Disassembly . (A " Crash " happens when the program cannot continue because of a Programming Bug . For example, perhaps the program tried to use an instruction not available on the current version of the CPU or attempted access to unavailable or Protected Memory .)

Typically, debuggers also offer more sophisticated functions such as running a program step by step (single-stepping), stopping ('''breaking''') (pausing the program to examine the current state) at some kind of event by means of Breakpoint , and tracking the values of some variables. Some debuggers have the ability to modify the state of the program while it is running, rather than merely to observe it.

The importance of a good debugger cannot be overstated. Indeed, the existence and quality of such a tool for a given language and platform can often be the deciding factor in its use, even if another language/platform is better-suited to the task. However, it is also important to note that software can (and often does) behave differently running under a debugger than normally, due to the inevitable changes the presence of a debugger will make to a Software Program 's internal Timing . As a result, even with a good debugging tool, it is often very difficult to track down runtime problems in complex multi-threaded or Distributed System s.

It is worth pointing out that the same functionality which makes a debugger useful for eliminating accidental bugs allows it to be used as a Cracking tool to learn how to evade Copy Protection and other programmed limitations.

Many programmers (especially those accustomed to development in an IDE ) dislike or have difficulty working with console debuggers, instead using a Front-end incorporating more sophisticated animation and visualisation functions and more sophisticated tools. Some examples of these are listed below.


LIST OF DEBUGGERS



SEE ALSO




REFERENCES

  • Jonathan B. Rosenberg , How Debuggers Work: Algorithms, Data Structures, and Architecture, John Wiley & Sons, ISBN 0-471-14966-7



EXTERNAL LINKS