Debugger - setting a break point (OpenInsight Specific)
At 16 NOV 2001 02:26:22PM Wilhelm Schmitt wrote:
Is it possible to define a break point, depending on the content of a variable? (like ARev's BINVOICE_TOTAL]500)
I couldn't find anything in the manual.
Thanks
Wilhelm
At 16 NOV 2001 03:04PM Don Miller - C3 Inc. wrote:
OI doesn't offer quite the same facility. I do something like this:
EQU Testing TO 0 ;* set to 1 to allow for debugging
Then in the code, I do:
IF TESTING THEN
IF SOME_CONDITION THEN DEBUG ;* some condition could be DATE]DATE()END
When you're through debugging then set TESTING back and recompile
This works for me
Don
At 16 NOV 2001 04:23PM Wilhelm Schmitt wrote:
Don,
I also put conditional statements within the code quite often. Sometimes when you trace global or system variables, you don't always know the exact routine or place, this is, where some of the nice little debugger features in ARev are helpful - although I admit that debugging in OI is much more transparent and easier to do than in ARev.
Thanks anyway
Wilhelm
At 04 SEP 2002 03:01PM Robert M Sanders wrote:
This may be a bit too late, but I always trap for debugging by doing the following:
IF @USERNAME EQ 'RSANDERS' (ANY OTHER CONDIITIONS) THEN DEBUG
This way, if someone else comes into the program, they don't call me to say the program broke . . . .
Hope this helps . . . .