- changed status to resolved
Runtime error : concerned line number
Issue #63
resolved
It would be great to return the line number when a runtime error occurred :
ERROR: Runtime error in TELEPORTATION(73925) - Process 128444 not active
To :
ERROR: Runtime error in TELEPORTATION(73925) Line 648 - Process 128444 not active
Comments (1)
-
repo owner - Log in to comment
Thanks for reporting.
You can get that info by compiling your DCB with debug information and running it with debugging on. Be sure to run your code from the same directory where your compiled it from so that the interpreter can read the source code when launching the DCB.
Tested by running the following command:
On the following code:
[Edit] You'll get something like the following:
And you'll know that your problem is in line 24 of test.prg