I understand (a little) how debuggers work.
Not how to use them, but how they work.
How do they access the memory a program is using, to let you see its values?
Would it be coded using pointers?
Printable View
I understand (a little) how debuggers work.
Not how to use them, but how they work.
How do they access the memory a program is using, to let you see its values?
Would it be coded using pointers?
Yes. It would use pointers and a bunch of functions that are system dependent. Debuggers sometimes build an additional layer between your program and the computer by building another executable when in Debug mode, doing more stuff behind your back to make it easier tracking mistakes.
Does anyone have a link to an open scorce project or something i could look at?