Debugger fails to enter kernel

I’m trying to debug a kernel which is imported from sample, but every time I debug to kernel part, I got the error :Can’t find a source file at “/tmp/tmpxft_00006c39_00000000-4_matrixMul.cudafe1.stub.c”
Locate the file or edit the source lookup path to include its location.

I am in debug mode, and before entered the kernel part, main function works well with debug, any solution to solve my problem ?

Looks like you are running two debug session. Try running only one debug session.
And also the program is not stopped at kernel. If you hit the kernel break points then you will see CUDA threads in debug view. You can set the kernel breakpoints from the CUDA view toolbar button.

Thanks for your reply, after breakpoint in cuda kernel, debug runs normally as expect.