WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: chrislegarth on October 24, 2017, 02:58:26 PM

Title: DebugTrace File Question
Post by: chrislegarth on October 24, 2017, 02:58:26 PM
Quick question about the outputted dubug trace file information.  What does the number in parentheses at the start of each result line represent?  See in bold red below.  Thanks in advance!


************************************************************

*** Debug Initialized ***

==============================
Sat 10/21/2017 1:52:30 PM
WinBatch 32 2017B
WIL DLL 6.17bqb
C:\Scheduled Tasks\XXXXXXXX\XXXXXXXXX\XXXXXXXXXXXXXX.exe
Windows platform: NT, version: 6.3, build: 9600
ErrorMode: @OFF
Valid Code Signature: No
UAC Manifest Settings: level="asInvoker" uiAccess="false"
UAC Elevation Level: Standard User or Disabled
==============================

iniwritepvt("", "", "", inifile)
(15) VALUE INT => 1

endif
(15) END OPERATOR

logpath = path : "Logs"
(62) VALUE UNICODE => C:\Scheduled Tasks\xxxxxxx\xxxxxxxxxxxx\Logs

if direxist(logpath) == @false then dirmake(logpath)
(62) ==>FALSE=> (skipped)

logpath = logpath : "\"
(78) VALUE UNICODE => C:\Scheduled Tasks\xxxxxxxxxxx\xxxxxxxxx\Logs\

dtStamp = strreplace(timeymdhms(),":","")
(78) VALUE STRING => "20171021135230"
Title: Re: DebugTrace File Question
Post by: td on October 24, 2017, 07:39:50 PM
Milliseconds since the start of the debug session.  Often more time is spent reporting the trace for a line than time it takes to actually execute the line so the times can sometime seem a bit unusual.   However, the time marks do have their uses.
Title: Re: DebugTrace File Question
Post by: chrislegarth on October 25, 2017, 07:23:44 AM
Thanks for the information. That sheds a lot of light on the issue that I am having.