NVIDIA / nsight-vscode-edition

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

No Local Variables #41

Open DapengFeng opened 6 months ago

DapengFeng commented 6 months ago

Screenshot from 2024-02-26 08-39-28

DapengFeng commented 6 months ago

Screenshot from 2024-02-26 08-42-57

sanannavyaa commented 6 months ago

Hi,

Thanks for reaching out. Quick question - do you see the same error if you were to try this on command line cuda-gdb? Meaning, if you did:

cuda-gdb executableName
b 374
r 

Then when it stops at the breakpoint, you do:

print full_list_buffer_ptr

What do you see here?

Also, what flags did you use to compile? Did you use -g -G?

RnMss commented 4 months ago

Me, too.

Also, what flags did you use to compile? Did you use -g -G?

@sanannavyaa
I did compile with '-g -G'. I can see local variables with CLI version cuda-gdb, but not with vscode.

break-run is ok, but run-receive_signal is not working. I guess the stack frame didn't get switched.