How does Eclipse/IDEA/etc. debugger obtain the information about local variable values and watch exp

Posted by Bubba88 on Stack Overflow See other posts from Stack Overflow or by Bubba88
Published on 2010-05-23T16:43:23Z Indexed on 2010/05/23 16:51 UTC
Read the original article Hit count: 231

Filed under:
|
|
|

I always thought that varibales are mapped to stack locations once your Java source is compiled; additionally, they may include the info about the variable names and their scope in classfiles, but that's optional AFAIK.

The question is - how do my Eclipse/IDEA IDEs allow me to set a watch expression containing the local variable name? To me, it's hard to understand :)

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse