NVIDIA Nsight Visual Studio Code Edition#

Introduction to NVIDIA Nsight Visual Studio Code Edition

NVIDIA® Nsight™ Visual Studio Code Edition is an extension that brings CUDA development and debugging into Microsoft Visual Studio Code and compatible editors. It allows you to debug GPU kernels and native CPU code in the same session, and inspect the state of the CPU and GPU.

Release Notes

See the latest features and updates for this version of NVIDIA Nsight Visual Studio Code Edition.

Installation and Setup

This chapter walks you through the system requirements for NVIDIA Nsight Visual Studio Code Edition, and the steps you’ll need to install and get started using the software.

CUDA C++ Language Support

This chapter describes how the extension configures CUDA C++ language support (auto-completion, go to definition, find references, rename) using clangd or Microsoft’s C/C++ extension.


CUDA Debugger#

Getting Started with the CUDA Debugger

This section provides a walkthrough and tutorial for using the CUDA Debugger with NVIDIA Nsight Visual Studio Code Edition.

Control GPU Execution

In this section, learn more about how to control GPU execution, set GPU breakpoints, and use global freeze.

Inspect State

In this section, learn more about how to use various state inspection features of the CUDA Debugger, such as specifying the debugger context, viewing variables, and evaluating expressions.


Release Information#

Archives

Find documentation for previous versions of NVIDIA Nsight Visual Studio Code Edition.