Displaying the Call Stack for Unexpected Exceptions

To display the call stack for unexpected exceptions

This command determines whether the unit test is paused and the call stack is displayed when the unit test encounters an unexpected exception. This enables you to debug exceptions other than any that the test has registered with the JadeTestCase class expectedException method.

A check mark is then displayed at the left of the menu item, indicating that the call stack is displayed for the failed test during a unit test run. When the call stack window is closed, the unit tests resume.

To toggle the display of the call stack for failed messages, select the Debug on Unexpected Exception command again, to remove the check mark and run all of the unit tests without pausing.

You can also double‑click on a method that failed with an exception in the Results pane, to display call stack information.

The value of this command is saved in the DebugOnUnexpectedException parameter in the [JadeUnitTestRunnerUI] section of the JADE initialization file. This parameter is read and used when the application is next initialized.

2016.0.02 (Service Pack 1) and higher