You can view debug output in the Debugger Log view to troubleshoot the debugger.
If debug output is sent to the system log, select Preferences > Debugger > General > Force logging to console check box.
Right-click the view to select the following actions:
- Copy, paste, cut, and delete log contents.
- Undo and redo editing actions.
- Select all log contents.
- Clear log contents.
- Save log contents as a file.
- Log time stamps.
- Reload debugging helpers after adding custom debugging helpers.
- Set debugger preferences.
You can use the left pane of the Debugger Log view to directly interact with the command line of the native debugger.
Press Ctrl+Enter to send the contents of the line under the text cursor to the native debugger. Or, enter the command in the Command field. The right side pane of the Debugger Log view shows the command output.
Note: Usually, you do not need this feature because Qt Creator offers better ways to handle the task. For example, instead of using the GDB
© 2023 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.