Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsProgramatically viewing variables in a stackframe when a break point is hit
https://www.eclipse.org/forums/index.php/mv/msg/190330/603798/#msg_603798
I've programatically added a JavaMethodBreakPoint and It gets installed and Hit successfully through my plugin which has a IJavaBreakpointListener.
Then I wanted to view the variables currently in the top stack. I'm able to get JDILocalVariable type objects refering to a variables in the current top stack. If the variable is a primitive type I can view the value of it using toString(), but if it is a object I could not see how I can extract that object along so that I can work with that object. For example in that object how can I invoke a public method or a field. Any help towards the right direction is appreciated
Thanks in advance
Saminda]]>Saminda Wijeratne2009-12-08T13:03:16-00:00