Hello,
this question probably is quite basic but I have no ideas where to start fixing this.
I want to debug my .cu program with vscode to have a better visualized debug session than with cuda-gdb.
However in the vscode session my program does not find a inputfile in the normal c++ code, while it works perfectly with cuda-gdb in a console. How can this be? I expected them to do the same since my launch.json file looks like this:
{
"version": "0.2.0",
"configurations": [
{
"name": "CUDA: Debug with CUDA-GDB",
"type": "cuda-gdb",
"request": "launch",
"gdb": "cuda-gdb",
"program": "${workspaceFolder}/ftlmdebug",
}
]
}
The ftlmdebug is my executable file after compiling with -g -G for the usage of cuda-gdb. The program displays the correct filename if I print it out but the input-file-stream does not open.
Thank you for your help