Programatically viewing variables in a stackframe when a break point is hit [message #603798] |
Tue, 08 December 2009 08:03 |
Eclipse User |
|
|
|
Hi,
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
|
|
|
Powered by
FUDForum. Page generated in 0.06446 seconds