Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Programatically viewing variables in a stackframe when a break point is hit
Programatically viewing variables in a stackframe when a break point is hit [message #603798] Tue, 08 December 2009 08:03
Saminda Wijeratne is currently offline Saminda Wijeratne
Messages: 16
Registered: July 2009
Junior Member
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
Previous Topic:Programatically viewing variables in a stackframe when a break point is hit
Next Topic:director installs automatically all optional bundles of a IU
Goto Forum:
  


Current Time: Wed Aug 20 16:40:15 EDT 2014

Powered by FUDForum. Page generated in 0.03259 seconds