Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Get IMethod using method name and source line nbr(How to get JavaModel method from source line number)
Get IMethod using method name and source line nbr [message #671779] Thu, 19 May 2011 00:49
Mike Aymard is currently offline Mike AymardFriend
Messages: 6
Registered: May 2011
Junior Member
While in debug mode, I acquire the debugContext to determine the method name they are debugging. I need to get that method declaration(parameter names and types), but can't figure out the best way to do this. ICompilationUnit will not let me find the method by source line number, only name. But the debugContext only gives me the method name and source line, not the full signature, so name alone is not good enough. Any help greatly appreciated!

Mike
Previous Topic:Proclipsing - data folder deleted
Next Topic:Accessing variables at a breakpoint
Goto Forum:
  


Current Time: Mon Dec 22 23:28:49 GMT 2014

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

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