We tried to set up Nsight Visual Studio Edition 6.0 for OpenGL profiling, which is partially working, but we cannot get the stack trace to work. We have the exact same issue as described in this thread two years ago, i.e., the call stack of an API call only shows the module name, but no function name, file name, or line numbers. In the Modules view, all modules have a wrong path in that the paths point to the D:\ drive, although all participating software, code base, and libraries reside on C:.
Our configuration:
-
Windows 8.1 Pro 64 bit, version 6.3.9600
-
Visual Studio Enterprise 2017, version 15.8.7
-
Nsight Visual Studio Edition 6.0.0.18260
-
Windows installation and code base resides on C:, but the machine also has a D:\ drive
-
Code base is written in C++17, using a 64-bit Release build with debug info
-
Graphics to debug comply to the OpenGL 4.5 core profile
-
Nsight Monitor is started as administrator
-
Visual Studio is started as administrator
-
No Task Manager or Process Monitor running
-
No changes to the default settings in VS | Nsight | Options | Analysis (i.e., “Using symbol server”, no Symbol Cache or Server Paths)
-
No changes to the Nsight Monitor options
-
Activity Type: Trace Application
-
Trace Settings:
- checked System
- checked CPU Thread Trace
- checked Module Trace
- checked OpenGL
- checked API Trace, API Categories: All Categories, Call Stack Trace: Always
- Workload Trace: checked all
- checked System
-
No changes to Advanced Options
After capturing, the report does not include any symbols and the call stack for API calls only shows the module names, but not function, file name, or line, as already reported by user vdontsov in the thread linked above. Of course, it cannot find any symbols if it searches on the wrong disk for them.
I also tried deleting C:\Users***\AppData\Roaming\NVIDIA Corporation\Nsight, which did not change anything.
Could you please tell us how to set this up properly?