Set data breakpoints
A data breakpoint stops the application when data is read or written at the specified address.
To set a data breakpoint at an address:
- In the Breakpoint Preset or Breakpoints view, select Add Breakpoint in the context menu.
- In Breakpoint type, select Break on data access at fixed address.
- In Address, specify the address of the memory block.
- Select OK.
If the address is displayed in the Locals or Expressions view, you can select Add Data Breakpoint at Object's Address in the context menu to set the data breakpoint.
Data breakpoints will be disabled when the debugged application exits, as it is unlikely that the used addresses will stay the same at the next application launch. If you really want a data breakpoint to be active again, re-enable it manually.
See also How To: Debug, Debugging, Debuggers, and Debugger.
© 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.