Nsight can not Debug into kernel


I’m totally new coder and currently learning cuda. I got a problem about Nsight Debugger, when I try to debug into kernel function. I got the error :

Can’t find a source file at “/tmp/tmpxft_000057b8_00000000-4_pack.cudafe1.stub.c”
Locate the file or edit the source lookup path to include its location.


I think this problem is caused by lookup path, but I tried to set the “compilation dir”.“project” and so on, none of these is work.

Several mouths ago I had a same problem and somehow I fix it. I don’t know why this happens, and how to figure out. Can somebody help me?

Thank you very much!


I am experiencing the same issue. I was wondering if you found a work around or fixed your issue?