*Detailed instructions on using the debugging mode in VS Code are available on the official VS Code website.
Run [Debug in VS Code] on the test case requiring analysis.
- Right-click the test case requiring root cause analysis and select [Debug in VS Code].
![]()
- [VS Code] launches after the build for debugging is complete. In [VS Code], press [F5] to start debugging with a breakpoint set at the first line of the target function.
![]()
*In Code-Based Tests, breakpoints are automatically set at the start of test functions defined with the CTEST
, CTEST_F
, and CTEST_P
macros.
- In [VS Code], navigate to the lines requiring verification, examine the code behavior, and check variable values to determine the root cause of the test case results.
![]()