tags:

views:

125

answers:

2

How does a debugger work? In other words how do programs which share the Address space of another program work? How will they have ability to write on to another process' address space?

A: 

You'll find a good answer here: http://stackoverflow.com/questions/216819/how-does-a-debugger-work

glowcoder
Good find, but this should be a comment, not an answer. See [How should answers that link to duplicate questions be handled?](http://meta.stackoverflow.com/questions/48125/how-should-answers-that-link-to-duplicate-questions-be-handled), and [Should a link to a similar question be posted as an answer or comment?](http://meta.stackoverflow.com/questions/48991/should-a-link-to-a-similar-question-be-posted-as-an-answer-or-a-comment)
ire_and_curses
@ire thanks =) I'll keep that in mind.
glowcoder
A: 

The answer to your question will vary per operating system. I'll just quickly orient you towards the appropriate documentation for the Win32 platform. The short answer is that they don't, instead there is a win32 api for this sort of work.

The main article on the subject is listed here.

Daniel Goldberg

related questions