I’ve read this thread and applied all the suggested solutions but the execution still refuses to pause inside a global function, though pausing within a host function within the same .cu file…
VS makes any breadpoint inside my global function inactive once I press F5 and says:
“The breakpoint will not currently be hit. No executable code is assosiated with this line
Possible causes include: preprocessor directives and compiler/linker optimizations.”
I’ve disabled all optimizations, both in VC++ and NVCC compilers, the linker doesn’t seem to be relevant to this…
Of course, I have the -deviceemu activated in EmuDebug, and ‘Generate debug information’ set ‘-D_DEBUG -D_WIN32’
The only NVCC compilation type that builds is 'Generate object hybrid file (–compile / -c), other settings here either return a CUDA build rule error or even cause the linker to crash… Maybe this is relevant to the inactive kernel breakpoints?