Modifying your error system Changes to ErrorSys. ──────────────────────────────────────────────────────────────────────────────
To take full advantage of the features that MrDebug offers, you should make two changes to your source code.
1. Add the following line to your error system:
MrdSaveErr( oError )
In the case of ErrorSys.PRG this would be the first line of code within the DefError Function. So you would want to insert a line of code around line 46'ish that says:
MrdSaveErr( e )
This allows MrDebug to display the output of any CA-Clipper error in it's own window.
2. Replace all STDOUT calls in either the standard error system or your error system with ?
If you have not made any changes to the standard error system, then you may choose to use MrDebug's replacement error system instead. In which case, you will need to compile and link _MrdErSy.prg.
For further information about changing the error system, please take refer to the See Also section of this entry.