Aqua 2024.3 Help

Debug tool window

When you start a debugger session, the Debug tool window opens. Use this window to control the debugger session, view and analyze the program data (frames, threads, variables, and so on), and perform debugger actions.

Debug tool window overview

Sessions

The available debug sessions are separated into tabs in the top part of the Debug tool window.

Session tabs

All the information in the editor, like inline variable values and execution point, is shown for the selected session tab. This is important if you are running several debug sessions in parallel that use the same classes.

When you close a tab, the corresponding debug session terminates.

Tabs

The Debug tool window shows the following tabs and panes for each session:

  • Threads & Variables: this tab comprises several panes that display information about threads, frames, watches, and variables.

    Threads & Variables tab
    • Threads: displays the list of live threads and lets you switch between them.

    • Frames: lets you navigate in call stacks of the threads.

    • Watches: lets you manage watches.

    • Variables: lists the variables available in the current context and lets you analyze and modify the program state.

  • Console: displays the program output.

    Console tab

    For local sessions, the tab works the same as when you just run the program without the debugger attached. The only difference is that debugger output (for example, log messages from breakpoints) is added to the console.

    When you attach to a process, the program output is not redirected and only the debugger output is shown in the debugger console.

  • Process Console: Aqua opens this tab when you are debugging a Node.js application. The tab shows the output of the node process itself, that is, everything that is written to process.stdout and process.stderr directly or is logged using console.*.

    Process Console tab
  • Debugger Console: Aqua opens this tab when you are debugging a Node.js application. Here you can run JavaScript code snippets and view the console.* messages.

    Debugger Console tab
  • Scripts: during a JavaScript debugging session, the tab shows all the external resources that are automatically downloaded during the JavaScript code execution. Use this tab to monitor downloading the external resources. To open the code of a resource in the editor, double-click the item in question.

    Scripts tab

Switch tabs

  • To cycle through the tool window tabs, press Alt+Right and Alt+Left.

Show/hide tabs

  • Click Layout options button and select which tabs you want to see.

    Layout options menu

Restore default layout

If you changed the layout of the Debug tool window and don't like the new arrangement, you can revert it to the default state.

  • Click Layout options button in the top-right corner of the Debug tool window, then click Restore Default Layout.

Move tabs

You can arrange the tabs to fit your preference. You can move a tab to another location or group a tab with another tab, so that they share the same space on the screen.

  • Drag the tab header to the desired location. The blue frame indicates the destination.

Last modified: 04 November 2024