Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting object references in the JDI (urgent)

 
Mohammed Abdeali
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I urgently need help with this.
My program uses jdi to attach to another jvm. It catches MethodEntryEvents and this is all ok, what i need is to get the reference to the object that called the method and the instance (not the class) that the method belongs to. Obviously static methods will be different but those can be done easily.
Any help at all will be hugely appreciated.
 
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!