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??