tags:

views:

48

answers:

2

hi

with a very simple code, hello world, the breakpoint is not working. I can't write the exact comment since it's not written in English, but it's like 'the symbols of this document are not loaded' or something.

there's not cuda codes, just only one line printf in main function.

The working environment is windows7 64bit, vc++2008 sp1, cuda toolkit 3.1 64bits. Please give me some explanation on this. :)

+1  A: 

So this is just a host application (i.e. nothing to do with CUDA) doing printf that you can't debug? Have you selected "Debug" as the configuration instead of "Release"?

Tom
yes. it's been 'Debug' from the very beginning and never changed.
superscalar
+1  A: 

Are you trying to use a Visual Studio breakpoint to stop in your CUDA device code (.cu)? If that is the case, then I'm pretty sure that you can't do that. NVIDIA has released Parallel NSIGHT, which should allow you to do debugging of CUDA device code (.cu), though I don't have much experience with it myself.

Ian Lee
yes, but i'm using vs2008 and parallel nsight for debugging.
superscalar