- Qt Creator Documentation
- CDB
- Qt Creator 15.0.1

Reference

# 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.