How to obtain name of current method and sourcecode linenumber ??
Peter Schou
Greenhorn
Joined: Mar 11, 2001
Posts: 3
posted
0
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 !
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
posted
0
Some of the IDEs have debuggers built in that show this.
"JavaRanch, where the deer and the Certified play" - David O'Meara