BreakOnRunTimeError Event

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

ControlName_BreakOnRunTimeError ( exec, initiatingThread, showDialog, breakExecution)

Applies To

ApplicationMgr

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.


See Also

Execution.RTEOptionForThisExecution

Run-Time Error dialog box

StationOptions.RTEOption

UIMsg_BreakOnRunTimeError

WAS THIS ARTICLE HELPFUL?

Not Helpful