Adding Debuggers
The Qt Creator debugger plugin acts as an interface between the Qt Creator core and external native debuggers such as the GNU Symbolic Debugger (GDB), the Microsoft Console Debugger (CDB), a QML/JavaScript debugger, and the debugger of the low level virtual machine (LLVM) project, LLDB.
The debugger plugin automatically selects a suitable native debugger for each kit from the ones found on your system. To override this choice, select Tools > Options > Build & Run > Kits.
To add debuggers:
- Select Tools > Options > Build & Run > Debuggers > Add.
- In the Name field, give a descriptive name for the debugger.
- In the Path field, specify the path to the debugger binary:
- For CDB (Windows only), specify the path to the Windows Console Debugger executable.
- For GDB, specify the path to the GDB executable. The executable must be built with Python scripting support enabled. The options you have depend on the development and target platform:
- For debugging on embedded devices using a different ABI, you must provide a special executable.
- For debugging on Windows using MinGW, select a Windows executable of GDB with Python scripting enabled. You can download it from http://builds.qt-project.org/job/gdb-windows.
- For LLDB (experimental), specify the path to the LLDB executable.
- In the ABIs field, specify the ABI versions to use on embedded devices.