ApplicationMgr.BreakOnRunTimeError
- Updated2025-07-21
- 1 minute(s) read
ApplicationMgr.BreakOnRunTimeError
Syntax
ControlName_BreakOnRunTimeError( exec, initiatingThread, showDialog, breakExecution)
Applies To
Purpose
Occurs when TestStand sends the UIMsg_BreakOnRunTimeErrorMessage message.
Remarks
Use this event to launch a custom run-time error dialog box or to specify whether the Application Manager control launches a Run-Time Error dialog box or suspends the execution. You can change the Execution.RTEOptionForThisExecution property for the execution in this event before the Application Manager control handles it.
Parameters
exec As Execution
[In] Specifies the execution to which the event applies.
initiatingThread As Thread
[In] Specifies the thread that sent the run-time error notification.
showDialog As Boolean
[In/Out] The Application Manager control launches a Run-Time Error dialog box when the Execution.RTEOptionForThisExecution property is set to RTEOption_ShowDialog . Set this parameter to False when you do not want the Application Manager control to launch the Run-Time Error dialog box. Do not set this parameter to False to replace the default run-time error dialog box. Instead, handle the ApplicationMgr.DisplayCustomRunTimeErrorDialog event.
By default, this parameter is True .
breakExecution As Boolean
[In/Out] Set this parameter to True to pause the current execution.
By default, this parameter is False .