Talk:UsingVSCode: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(Requesting the vscode extensions to be installed be identified more precisely)
 
No edit summary
 
Line 24: Line 24:


Any hints on how to debug this further?
Any hints on how to debug this further?
----------------
It looks like since the wiki entry was written, GDB has been folded into the C/C++ by Microsoft extension, so that is is the only relevant one I have

Latest revision as of 17:53, 20 December 2022

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?


It looks like since the wiki entry was written, GDB has been folded into the C/C++ by Microsoft extension, so that is is the only relevant one I have