Launch debugging any unit test

You should open the file with a unit test in the editor. You can right-click on the test and select the Debug unit test item in the context menu.

Debug a unit test from its context menu

Another way is to open the Debug mode: you can use the Main Menu: Debug ⇒ Debug unit test.

Debug a unit test from the Main menu

NB: These options are active if the caret is placed inside a test method.

When you start the debugging, this test will run first and after it is finished, the Debug mode will open.

Preparing the debugging process

NB: If you want to debug multiple methods in a class, you should launch the debugging for each of them.

Clicking on the Close button closes the notification window and stops launching the Debugger, but the test is still running.

In this section:

This also may be useful:

Last modified: 2017/02/02 16:06

footer image