dcsimg
Determine the line number of where a method is called.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   joseph_lam
Posted On:   Tuesday, June 5, 2001 06:03 PM

Is there a way to find out which line a particular method call originates without parsing the stack trace? (e.g. without parsing result from "new Throwable()": at MyClass.main(MyClass.java:3) to get the line number 3)
Parsing stack trace is not a good idea since it is not portable to all platforms.
Is there any other way??

About | Sitemap | Contact