You are here: Developer Tools > Desktop Developer Tools > NVIDIA Nsight Visual Studio Edition > Host Basics

In NVIDIA® Nsight™ Visual Studio Edition, the host is the term for the computer that is running Visual Studio, where your application is being built and debugged. After you install NVIDIA Nsight on your computer, you will see a new menu called Nsight on your Visual Studio taskbar.

Feel free to explore the various options on this menu. The items that are critical for debugging will be discussed in further detail in later topics.

Nsight Host Settings

After installing NVIDIA Nsight on the host machine, open Visual Studio and go to Nsight > Options to configure your settings.

  1. On the General page, configure some of the basic options such as timeouts, whether to enable secure connections, and which port NVIDIA Nsight should use to connect to the target machine.
    Note that the default port setting is 8000. The port number on both the host and target machines must match in order for a successful connection to occur. (See Target Basics for more information.)
  2. On the Analysis page, you can configure several analysis options such as CUDA kernel trace mode, default activity type and timeline axis mode, as well as a default report directory.
  3. On the CUDA page, you can configure several options for both the CUDA Debugger as well as the CUDA Memory Checker.
  4. On the Debugger page, configure some basic display options for NVIDIA Nsight.
  5. On the Graphics page, you will find the following options:

Frame Debugging

Shader Debugging:

  1. On the Updates page, select whether or not you want NVIDIA Nsight to automatically search for updates upon startup.

Click OK when you are finished configuring your options for NVIDIA Nsight.

Configuring NVIDIA Nsight on the Host Machine

After NVIDIA Nsight has been installed on the host machine, it will need to be configured. To do this:

  1. Open your project in Visual Studio.
  2. On the Solution Explorer menu, click the Nsight User Properties icon. (As an alternative, you can also go to the Project menu > Nsight User Properties.)

  3. This will open the NVIDIA Nsight User Settings dialog box.

    On the default Launch page, you configure the appropriate actions and options to be used when you begin debugging your project.
  4. For Launch external program, enter the file path to the application that is being debugged.
  5. For applications that are launched by another application (such as a Steam app or a proprietary launcher app), you should check the Application is a launcher checkbox.
  6. The Launch Options section allows you to configure the name of the target machine, any command line arguments needed, and set the working directory.
    The default setting for the Connection name field is localhost; however, unless you are using a local debugging configuration, you'll need to enter the remote computer's name.

    Note that you can also opt to use the Nsight Connections toolbar to specify the name of the computer that should be used for running the target application.
  7. Click the Synchronization page.

    From here, you can choose which file extensions to include or exclude for synchronization purposes.
    If you're debugging a large application, you'll want to turn off synchronization to prevent performance problems.
    When using file synchronization, all file paths are relative to localhost.
    When file synchronization is turned off, the file path is relative to the target machine (which could be localhost as well, depending on your settings.)
  8. Click the Shader Compilation page.

    This page allows you to specify include paths for compiling the shaders in your application.


NVIDIA GameWorks Documentation Rev. 1.0.150630 ©2015. NVIDIA Corporation. All Rights Reserved.