Skip to main content

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!

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

Current Time: Sat May 26 14:11:37 GMT 2018

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

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

Back to the top