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 13:03
Saminda Wijeratne is currently offline Saminda WijeratneFriend
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: Sun Nov 23 20:08:28 GMT 2014

Powered by FUDForum. Page generated in 0.01545 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software