crash_message()
- Posted by Jiri Babor <J.Babor at GNS.CRI.NZ> Feb 28, 2000
- 440 views
Rob, A small addition to the ever growing wish list: can we have a routine that would return the current position of the interpreter within the source. Just the file name and the line number. Alternatively, would it be possible to extend the crash_message() routine to include this sort of information. As it is now, I have to combine the crash_message() with something silly like ? 1/0 to induce a traceable error. Otherwise it is quite painful, especially with multiple includes and thousands of lines in each, to locate offending sections of the code. Or am I missing something, is there a better way of doing the same? jiri