Moving through the debugging process often leads you to other test methods or files, so you have a way with complicated the nesting levels. To find where you are now and what was your path, for instance, what operation called the current test, you can use the Call stack panel in the right bottom part in the Debug view.
In this panel, you can see all the information about calls:
- Name — the name of the string. It consists of the file name and the number of the line with this string.
- Language — the language of the string.
Navigation through the call stack
You can use any item in the Call stack panel to navigate to it in the code.
All the strings are displayed in descending historical order — this means that your current position is at the top of this list. It's marked by a green arrow in the left margin. If you double-click on any item where you want to move, the code in the editor will be focused on this part (and the necessary line in the code will be highlighted).
This option allows you to make clear what caused the moving to a deeper level. When you move to the previous level (using the Step out option), the call stack removes the deeper levels from the list.
The context menu of the Call stack panel
The context menu of the Call Stack panel helps you to get the maximum value from data in this panel. You can set which information is important and should be displayed:
- Module Name,
- Parameter Type,
- Parameter Name,
- Parameter Value,
- Line Number.
In addition, you are able to
Copy, and set the
Columns: in addition to the basic columns
Language, you can turn on the
However, you might notice, that some parts of execution flow do not appear in the Call stack panel. See more about this in the Known limitations section.
In this section:
This also may be useful: