To specify settings for managing the CDB process, go to Preferences > Debugger > CDB.

"CDB preferences"

The following table summarizes the preferences.

Additional argumentsAdditional arguments for starting CDB.
Use CDB consoleIf 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 violationsDisables first-chance break on access violation exceptions. The second occurrence of an access violation will break into the debugger.
Stop when CrtDbgReport() is calledAutomatically adds a breakpoint on the CrtDbgReport() function to catch runtime error messages caused by assert(), for example.
Correct breakpoint locationCDB 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 dumperUses 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 onWhether 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 ViewShows information about first-chance and second-chance exceptions in Issues.

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.