Local Variables and Function Parameters

The Locals view consists of the Locals pane and the Return Value pane (hidden when empty).

{Locals view}

Whenever an application stops under the control of the debugger, it retrieves information about the topmost stack frame and displays it in the Locals view. The Locals pane shows information about parameters of the function in that frame as well as the local variables. If the last operation in the debugger was returning from a function after pressing Shift+F11, the Return Value pane displays the value returned by the function.

You can expand the view contents to check that your application sets a local value correctly.

Selecting Object Type for Display

When using GDB, you can specify whether the dynamic or the static type of objects will be displayed. Select Use dynamic object type for display in the context menu. Keep in mind that choosing the dynamic type might be slower.

Available under certain Qt licenses.
Find out more.