I can’t setting breakpoints in .cu-file. I compiled the .cu in emulation mode (I set the -deviceemu flag in file.cu->Properties->Costum Build Step->Commandline: nvcc -c -deviceemu –o $(ConfigurationName)\cuda.obj cuda.cu). And I think that works, the compiler defines DEVICE_EMULATION.
Now, I have take the template from the sdk. Setting breakpoints works fine. I think the template project is the best start up for cuda beginners. External Image