What is typical delay before DebugTrace info written to disk?

Started by gibberish, January 03, 2019, 02:31:23 PM

Previous topic - Next topic

gibberish

Background:
My script designed to loop forever.
DebugTrace turned on before entering "endless" (while 1... endwhile) loop.
Script accepts user input.

Problem:
Just interacted with script and opened the debug log file, but do not see the thing I just did. Closed/re-opened, still do not see my action.

1. Is there a delay before debugTrace log info is written to disk?

2. If so, is there a way to "flush" the debug log (i.e. force it to write to disk at a certain point)?

Many thanks!

PS - my guess is that there is zero delay before writing to disk (that DebugTrace() writes to disk after each statement), and that my debug log problem is a problem with my code. But wanted to verify this fact, first.

td

DebugTrace not only writes each line to the trace file on disk but also opens and closes the file for each executed line. Also note that by default DebugTrace does not continue line by line debugging into UDFs, UDSs, or called scripts.  Check out the DebugTrace page in the Consolidated WIL Help file for more information on using the function.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade