Applies to AQTime 8.80, last modified on June 13, 2019
AQtime.exe provides the following exit codes which report results of the last profiling run:
The last profiling run did not produce any errors.
The last profiling run produced errors but the profiled application returned a zero exit code.
The profiled application returned a non-zero exit code.
In order for AQTime to produce exit codes indicating profiling results, launch it with the /nonzeroexitcode command-line argument. For more information on AQTime command-line arguments, see AQTime Command Line.
Exit codes can be used to launch AQTime from a batch file:
Show Sample Batch File ContentsHide Sample Batch File Contents
REM Clears the screen
REM Launches AQtime,
REM performs the profiling
REM and closes AQtime when the profiling is over
"C:\Program Files\SmartBear\AQtime 8\Bin\AQtime.exe" "C:\AQtimeProjects\MyProj.aqt" /run /exit /silentmode /nonzeroexitcode
IF ERRORLEVEL 2 GOTO ApplicationErrors
IF ERRORLEVEL 1 GOTO ProfilingErrors
IF ERRORLEVEL 0 GOTO Success
ECHO The profiled application returned non-zero exit code
ECHO There were errors during the profiling