hi,
just out of curiosity, is it possible to get the code line number when a run time error occurs? :D
Printable View
hi,
just out of curiosity, is it possible to get the code line number when a run time error occurs? :D
It's in the stacktrace. You can get the stacktrace from the exception object that gets thrown. There was a post a while back about how to break up the different parts of the stacktrace (i.e getting just the line number) if you want to search for it.