On Thu, Mar 3, 2016 at 6:21 AM, john lunzer <[email protected]> wrote:
> One question, I see tests for traces all over in the code. You said
> several times "traces show". How do I use these traces? They sound useful!
>
The typical pattern is:
trace = True and not g.unitTesting
...
if trace: g.trace(whatever)
When trace is true, g.trace acts like an improved print statement. Output
goes to the console window.
Tracing usually is simpler and more effective than using a debugger.
EKR
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.