CDB
To specify settings for managing the CDB process, go to Preferences > Debugger > CDB.
The following table summarizes the preferences.
Setting | Value |
---|---|
Additional arguments | Additional arguments for starting CDB. |
Use CDB console | If a console application does not start up properly in the configured console and the subsequent attach fails, diagnose the issue by using CDB's native console. Select this checkbox to override the console set in the Windows system environment variables. Note that the native console does not prompt on application exit. |
Ignore first chance access violations | Disables first-chance break on access violation exceptions. The second occurrence of an access violation will break into the debugger. |
Stop when CrtDbgReport() is called | Automatically adds a breakpoint on the CrtDbgReport() function to catch runtime error messages caused by assert() , for example. |
Correct breakpoint location | CDB enables setting breakpoints in comments or on source lines for which no code was generated. In such situations, the breakpoint is shifted to the next source code line for which the code was actually generated. To reflect such temporary changes by moving the breakpoint markers in the source code editor, select this checkbox. For more information, see Setting Breakpoints. |
Use Python dumper | Uses the abstraction layer of Python Dumper classes to create a description of data items in the Locals and Expressions views. For more information, see Debugging Helper Implementation. |
Break on | Whether the debugger should break on C++ exceptions, on thread creation or exit, on loading or unloading the specified application modules, or on the specified output. |
Add Exceptions to Issues View | Shows information about first-chance and second-chance exceptions in Issues. |
See also How To: Debug, Debugging, Debuggers, and Debugger.
Copyright © The Qt Company Ltd. and other contributors. 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.