• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting object references in the JDI (urgent)  RSS feed

 
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!