File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to obtain name of current method and sourcecode linenumber ??
Joined: Mar 11, 2001
Mar 13, 2001 05:11:00
Is it possible to obtain the name of the current executing method and the linie number in sourcecode. It would be nice to use in tracing and error logging !
Joined: Sep 29, 2000
Mar 13, 2001 07:09:00
Some of the IDEs have debuggers built in that show this.
"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: How to obtain name of current method and sourcecode linenumber ??
Getting the method name that you are currently in.
Issue regarding Executing Thread
Help with multiple selections
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013