Viewing and Editing Register State

Machine code consists of machine language instructions that make the CPU perform tasks, such as load or store, on units of data in the CPU's registers or memory.

The Registers view displays the current state of general-purpose and special-purpose CPU registers. The available registers depend on the CPU type.

{Registers view}

You can view register values when the application stops. Double-click register values to edit them.

The values of registers that recently changed are highlighted in red. Empty register values and leading zeroes are grayed out.

Right-click column headers to show and hide the Name and Value columns in the view.

Right-click the view to select the following actions:

By default, the Registers view is hidden. To show it, select it in Views on the debugger toolbar.

Examining Memory

You can examine memory in many formats, independently of the application's data types.

To open the memory editor, select a value Registers view, and then select Open Memory Editor at <value> or Open Memory View at <value> in the context menu:

{Memory Editor}

Hover the mouse pointer on a value to see details as a tooltip.

Right-click a value to:

  • Copy the selection in ASCII or hexadecimal format.
  • Set a data breakpoint on the selection.
  • Jump to the selected address in the current data view or a new one.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.