Added Inspect debug info
If an error occurs while running the test case, you can use the Inspect debug info check function to determine the cause of the error.
When [Inspect debug info] is executed, the debug information is displayed in the [Debug Information View].
Display debug information in the debug information view
The debug information view shows information to help you determine the cause of an error in a test case.
- Trace function calls in test cases with errors
- Actual value of variable/expression added to inspect debug information
If you select a test case that has [Inspect debug info] in the unit test view, debug information is displayed in the Debug Information view.
- The Stack trace shows the function call trace when the test case in error was executed. The location where the error occurred is displayed at the top.
- The variable/expression list shows the actual value of the variable/expression added to inspect the debug information.
Debug information view toolbar menu
icon | description |
---|---|
List of variable/expression to debug |
In the list of debug variable/expression, you can check and remove variable/expression.
Add/delete variable/expression to inspect debug information in the source code editor
When performing Inspect debug info, you can add variable/expression to debug in the source code editor.
- Double-click the line area in the source code editor
- Select [Add Variable/expression to debug…] from the line area context menu in the source code editor
- After specifying a variable or expression in the source code editor, select [Add Variable/expression to debug…] from the context menu.
When the above operation is performed, the [Add variable/expression to debug] window appears.