EDEBUG Statement
The DataBasic EDEBUG statement will pass the last exception to the DataBasic debugger, generating a fatal B67 error.
Syntax
EDEBUG
Operation
The statement passes on the current exception number and message after appending the exception code level information and converting all system delimiters to their printable equivalents.
If no exception has been generated, EDEBUG will enter the DataBasic debugger with a zero exception number, a null exception message and null return stack information.
Example
[B67] Exception redirected to Debugger by user.
Exception number = '10061'.
Exception message = '[40015] Failed to connect to JAVA language server at
localhost:3090_^T DBO 3'.
Line : 43
Program : WORK BP £DBO
Compiled on : 07 Jun 13 at 12:20
Source : BP DBO
Last updated : 07 Jun 13
Run Emulation : Reality v15.1
Compiler version : Data/Basic pre 15.1 Version 10.0
A DBO 43
*
In the above example:
-
The exception was passed to the debugger in program DBO line 43.
-
The exception was generated at line 3 of the same program.
-
A single entry of return stack information has been appended to the original exception message, separated by "_".