debug v2.0 source code in Win7 VS2010 .NET 4.0 64bit machine
hi, my machine is Win7 VS2010 .NET 4.0 64bit. I downloaded the DualSPHyscs_v2.0_SourceFiles_windows. I can compile the source code and build the executable file (DualSPHysicsCPU_win64.exe) successfully and run it on test cases with good results. No problem there. But I do have trouble entering the debugging mode of the code in VS2010, .NET 4.0. Anytime when I click "start debugging", it says "Loaded 'DualSPHysicsCPU_win64.exe', Binary was not build with debug information", followed by a lot of lines saying "Loaded 'xxxxx.dll', Cannot find or open the PDB file". And if I use "step into" directly, it shows "No Source Available. No symbols are loaded for any call stack frame. The source code cannot be displayed." Does anyone know how to enter into debug mode of the code in VS2010? One more information I want to share is that I only wanner CPU version, so I defined _ONLY_CPU in the code, however, I did install the CUDA5.0, otherwise the code doesn't allow me to compile. I am not sure if this matters here. I will really appreciate if someone can help me here. Thanks!!!
Comments
I have had the similar problem like. Later, I find debug can work in releaseCPU. Please click this site for the configuration http://msdn.microsoft.com/en-us/library/vstudio/fsk896zz.aspx
Alex