title: Trying to wake up breaking points in gpu
body: <p>I wan to debug with Nsight but the compiler do not stop in break points. I have enabled the option that generates debug information.</p>
  
  <p><img src="https://i.stack.imgur.com/oYqoj.png" alt="enter image description here"></p>
  
  <p>Here is the command line:</p>
  
  <h1>Driver API (NVCC Compilation Type is .cubin, .gpu, or .ptx)</h1>
  
  <p>set CUDAFE_FLAGS=--sdk_dir "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\"
  "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\bin\nvcc.exe" --use-local-env --cl-version 2010 -ccbin "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64"     -G   --keep-dir x64\Debug -maxrregcount=0  --machine 32 --compile -cudart static  -o MP7.dir\Debug\%(Filename)%(Extension).obj "%(FullPath)"</p>
  
  <h1>Runtime API (NVCC Compilation Type is hybrid object or .c file)</h1>
  
  <p>set CUDAFE_FLAGS=--sdk_dir "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\"
  "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\bin\nvcc.exe" --use-local-env --cl-version 2010 -ccbin "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64"     -G   --keep-dir x64\Debug -maxrregcount=0  --machine 32 --compile -cudart static  -g    -Xcompiler "/EHsc  /nologo  /Zi    " -o MP7.dir\Debug\%(Filename)%(Extension).obj "%(FullPath)" </p>
  
  <p>When the Nsight debuger starts the break point changes and an exclamation mark appear with the following box info:</p>
  
  <pre><code>The break point will not be currently be hit No CUDA device code for source file c:\users\..\file.cu. Did you enable device information in your project? 
  </code></pre>
  
  <p>Both <code>.ilk</code> and <code>.pdb</code> files are in the same folder with the <code>.exe</code>. Also, in the Nsight debugger as <code>Working directory</code> that folder that includes the aforementioned files was set. </p>
  
  <p><img src="https://i.stack.imgur.com/qM2fK.png" alt="enter image description here"></p>
  
  <p>Moreover, breaking points were set inside the kernel functions.  </p>
  
  <p>How can I find out what is wrong?  I am in a deadlock.</p>
  
  <p>Thank you!</p>
  
  <p><strong>PS:</strong> Win 7 64x, VS2010 64x solution, Nsight 3.2 64x, Cuda sdk 5.5 64x, Nsight is working fine in sdk samples, GeForce 9600 GT (<strong>compute capability 1.1</strong>)</p>