Debugging a C or C++ Unit Test
See Also
You can start the debugger on unit tests in one of the following ways:
- After you run the project's tests, you can right-click
a test in the Test Results window
and select Debug.
-
Right-click the folder for the test suite and select Debug Test.
-
Right-click the folder for the test and select Step Into Test to debug the test one line at a time.
The IDE runs the test in the debugger, enabling you to examine your tests for errors.
Debugging tests works the same as Debugging C and C++
Projects.
-
See Also
-
About C/C++ Unit Testing
-
Running a C/C++ Unit Test
-
Creating a C/C++ Unit Test
-
Debugging C and C++
Projects
Legal Notices