NVIDIA® Nsight™ Application Development Environment for Heterogeneous Platforms, Visual Studio Edition 5.2 User Guide
Send Feedback
Make sure that the modules you intend to debug are built with the compiler generating debug symbols. If a module has no symbols, then debugging is disabled for all functions in that module.
NOTE: You cannot debug CUDA code in a target process while simultaneously debugging the x86 code of the same process.
Use a separate Visual Studio instance to debug the host portion of a target application. If you wish to debug the host portion of your CUDA application while the CUDA Debugger is attached, you must attach using a different Visual Studio instance. Attaching the same instance of Visual Studio to debug both the host portion and the device portion of a target application will cause the debuggers to conflict. The result is that the target application and the CUDA Debugger hang while being blocked by operations of the native debugger.
The NVIDIA Nsight tools support launching and debugging a program on a single system. Please see System Requirements for Nsight Software for more information. Please also refer to the Setup Local Debugging topic for configuring a debugging setup with multiple GPUs.
localhost
.As an alternate option, you can also right-click on the project in Solution Explorer and choose Start CUDA Debugging.
You can launch and debug a program on any properly configured remote host. Please see How To: Install the Nsight Monitor and Setup Remote Debugging for more information on how to install and configure the NVIDIA Nsight tools on your remote machine.
localhost
with the name of your target machine (the remote computer where the application to be debugged will run).
This can be the IP address of the machine on your local network, or the machine name as recognized on your network.
IMPORTANT: Do not use a mapped drive to specify the hostname. For example:
WRONG:
M:\
CORRECT:
jsmith.mydomain.com
As an alternate option, you can also right-click on the project in Solution Explorer and choose Start CUDA Debugging.
The host communicates with the Nsight Monitor on the remote machine, synchronizes the application files, and launches the application on the remote machine. The CUDA Debugger communicates through port: 8000 by default, although this setting can be changed in the Nsight Monitor options. (See both Host Basics and Target Basics for more details on how to configure the default port settings.) You can use the CUDA Debugger to pause execution, step, and perform other debugger functions.
NOTE: You cannot simultaneously perform CUDA debugging and x86 debugging of the same process.
NVIDIA® Nsight™ Application Development Environment for Heterogeneous Platforms, Visual Studio Edition User Guide Rev. 5.2.161206 ©2009-2016. NVIDIA Corporation. All Rights Reserved.