Talk:UsingVSCode

From GNU Radio
Revision as of 17:13, 20 December 2022 by N1ai (talk | contribs) (Requesting the vscode extensions to be installed be identified more precisely)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Comments on the instructions, since it is not working fully for me:

Re: "In VSCode Extensions Marketplace, install C++ and GDB Extensions (also Python Debugger for stepping through Python Code)"

This is ambiguous. Are you talking about one extension called "C++ and GDB Extensions" or two different ones?

When I go to the marketplace I see one extension called "C/C++" by Microsoft.

In the marketplace when I search for GDB I see "GDB Debug" by DamianKoper -- is this what is being used for GDB support?

These are the extensions I installed, but would like clarification.

Maybe the author Mormj could go to his extensions window (Ctrl+Shift+X in vscode) and give the names/authors of the extensions needed?

The instructions worked for me only partially.

I was able to get vscode to run my python script which starts my OOT, however it did not hit any breakpoints I placed in my OOT's C++ code.

I used the Play button to start the debug session, waited till the script was running, then used Pause (||) to pause the code then went to Debug Console tab.

In debug console I typed '-exec info breakpoints' and saw that the Address field of all breakpoints was <PENDING>.

This is after I see the console output of my OOT code, so I know it is running.

Any hints on how to debug this further?