Jump to content

Debugging Programs

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Guest_sn17_*

Guest_sn17_*
  • Guests
How do these debugging programs work?

#2
Guest_Rob_*

Guest_Rob_*
  • Guests
What debugging programs? Can you be more specific?

#3
Ronin

Ronin

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 309 posts
Most debuggin programs are built into your IDE if you use an IDE. There are others that detect memory leaks and other things like that.

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Looking at the GNU compiler and debugger, I believe what happens is that the compiler creates a version of the code that retains information about the original source code. Then the debugger runs the code while observing all memory. This can be done either with application hooks, or by running it in a virtual environment and passing calls on to the system.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog