Debugging Offline with Debug Sessions

A debug session is a set of trace lines shown in JSON format. There is one line for each:

  • Event received by the Desktop Agent engine

  • Framework action performed by the project's scripts

  • Scenario, step or handler status change

The session can also include .PNG files that correspond to the screenshots captured during execution.

The Debug Perspective

When a debug session is loaded into Desktop Studio, a new debugger instance is launched in a new debug perspective:

Manage Debug Sessions

Save a Debug Session

The current session can be saved via the Start of the navigation pathFile Next navigation step Save last Debug SessionEnd of the navigation path option from the menu.

The first time it is saved, Debugger asks for the file path and the name of the file to save the debug session in.

Debugger will then automatically save the complete debug session in this file when execution ends.

Use the Last Debug Session

When execution ends, Desktop Studio automatically keeps the last debug session in the memory.

It can be opened using the Start of the navigation pathFile Next navigation step Open last Debug SessionEnd of the navigation path item from the Desktop Studio menu.

Load a Debug Session

A previously saved debug session can be loaded using the Start of the navigation pathFile Next navigation step Open Debug SessionEnd of the navigation path item from the Desktop Studio menu.

The debug session can also be loaded by:

  • Double-clicking the corresponding file in Windows Explorer

  • Dragging & dropping the file from Windows Explorer to the PSC Tree of Desktop Studio.