Debugging CUDA code

Dear anyone who sees this

i am trying to learn CUDA coding, and when i run my code with the remote eclipse debugger, it just gets stuck and prints

could not find CUDA debugger back end. please try upgrading/re-installing the GPU driver

once the debugger frees(a long time) and i do more steps, an error window pops out with the following text:

Failed to execute MI command:

exec-nect 1

Error message from debugger back end

Cannot find bounds to current function

and it continues to do so after every step i make

jetpack version 6.1

eclipse version: 2021-03(4.19.0)

cuda sample: An Even Easier Introduction to CUDA (Updated) | NVIDIA Technical Blog

Hi,

Please try with the Nsight plugin below:

Thanks.