Hello. I want to debug some kernels written in DLL that I created. I have installed latest version of Nsight Visual Studio Edition and driver for my graphic card - GTX 1050Ti. When I start “Local Windows Debugger”, I can hit my breakpoints in usual c++ code, but I can’t hit them in kernels. By the way, my breakpoint in kernel marked with this message even after loading dll to executable:“The breakpoint will not currently be hit. No executable code of the debugger’s target code type is associated with this line”. Also If I push Extensions->Nsight->Start CUDA debugging(Next-Gen) nothing happens. I was looking for information in the internet but didn’t find anything that could be familiar for my problem. Can you please clarify for me how can I debug CUDA inside of the DLL? Thank you
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Break points not hit in CUDA kernel code with Nsight debugger in Visual Studio 2017 | 0 | 907 | October 11, 2021 | |
DLL project with CUDA | 1 | 1859 | July 20, 2013 | |
Debugging CUDA code in a DLL with Nsight 3.0 | 1 | 1767 | March 26, 2013 | |
Problem in debugging CUDA kernel | 3 | 1442 | February 5, 2015 | |
Unable to hit breakpoints in kernel functions | 2 | 652 | September 22, 2020 | |
Nsight Next-Gen strange behaviour. Unable to debug in my application, but OK in Samples. CUDA 12.5, VS2019 | 3 | 124 | August 5, 2024 | |
"NvCudaDebuggerInjector.dll" fails to load when running cuda next-gen debugger | 8 | 1295 | May 28, 2021 | |
Nsight debugging error: the breakpoint will not currently be hit. No cuda device code for source file. | 2 | 870 | November 28, 2020 | |
Unable to debug CUDA code | 2 | 747 | July 23, 2018 | |
Breaking inside kernel in emuDebug mode | 1 | 1668 | September 25, 2009 |