Launch debugging any unit test

To launch debugging, you should open the file with a unit test in the editor and select the Debug unit test item in its context menu.


Debug a unit test from its context menu


Another way is to open the Debug view: you can use the Main Menu: Run ⇒ 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 view will be opened.


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