NVIDIA / nsight-vscode-edition

A Visual Studio Code extension for building and debugging CUDA applications.
Other
68 stars 11 forks source link

How to make STL container readable by editing initcommands? #30

Closed qinggengaoshen closed 1 year ago

qinggengaoshen commented 1 year ago

I want to debug code with vscode.But vector always note "-var-list-children Usage:[PRINT_NAME] NAME [FROM_TO]. system:ubuntu 22.10 linux Here is the launch.json

` "version": "0.2.0", "configurations": [

        "name": "CUDA C++: Launch",
        "type": "cuda-gdb",
        "request": "launch",
        "program": "${workspaceRoot}/lu_cmd",
        "args":["-i /home/tyy/GLU_public-master/src/add32.mtx"],
        "preLaunchTask": "mynvcc",
        "cwd": "${workspaceFolder}",
        "initCommands": [

]

sanannavyaa commented 1 year ago

Duplicated by discussion in https://github.com/NVIDIA/nsight-vscode-edition/issues/9