Is there a way to configure a g++ toolchain project to use cuda-gdb? I’m using cuda-gdb on the command line to debug a G++ project that uses an nvcc compiled static library. It’d be nice to bring that workflow into the IDE.
Nsight uses cuda-gdb by default regardless of the toolchain used to build the project.
To confirm this:
- From the main menu, Run->Debug Configurations…
- Select your debug configuration under “C/C++ Application” tree.
- Verify the label to the left of “Apply” button reads “Using CUDA GDB Create Process launcher”
- Switch to the “Debugger” tab and verify “CUDA GDB executable” field shows “cuda-gdb”.