How does a debugger work?

I keep wondering how does a debugger work? Particulary the one that can be ‘attached’ to already running executable. I understand that compiler translates code to machine language, but then how does debugger ‘know’ what it is being attached to?

7 Answers
7

Leave a Comment