Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nsight support for automated debugging #1660

Merged
merged 4 commits into from
Apr 30, 2024

Conversation

gonidelis
Copy link
Member

Description

This adds Nsight support for automated (without terminal) debugging through our DevContainers. The users should use the CMake Tools VS Code extension (added) to configure and build the default specified target in Debug build mode (all-dev-debug CMake Preset added). Then by using the provided debugging option from the left sidebar on VS Code they can set breakpoints in their sources through the UI and step into kernel sources.

Note: Only use the left sidebar to initiate debugging. Don't use the bottom line bar with the "bug" button as this will not enable the Nsight extension which enables the UI overview of the CUDA environment (current thread, block etc.).

References:
Nsight Extension

@gonidelis gonidelis requested review from a team as code owners April 23, 2024 20:14
@gonidelis gonidelis requested review from jarmak-nv and griwes April 23, 2024 20:14
@gonidelis gonidelis merged commit a7c5f03 into NVIDIA:main Apr 30, 2024
587 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants