I have learned programming for a couple of years, and used debug frequently.But I still don't understand the core principle of debug, how it works?How does singe line debugging(step into) implement?
take the java language for example.
What does CPU do for debug implementation?
what does JVM do for debug implementation?
what does eclipse do for debug implementation?
May be the three stuff I listed above have nothing to do with debug. I only guessed it.I have googled for some time and gained nothing useful for me(of course,debug itself is complicated), I hope more simple interpretation.
Thanks.