Closed trongle0504 closed 1 year ago
Hi @jonahgraham, I have added some code to support sending GDB commands on CLI as your suggestion before. Could you please help me review it? Thank you!
Hi @jonahgraham, I have some updates as your suggestion. The unit test also passed in my fork. Could you please help me review it again? Thank you!
I have added an additional commit 0afeb61 to show the user some help when they startup. Can you please confirm this looks ok:
I have split this out into #266
I have added an additional commit 0afeb61 to show the user some help when they startup. Can you please confirm this looks ok:
I have split this out into #266
I got it. I think that your changes are very helpful.
Last part of this is writing a concise commit message - I have done that this time and updated the PR summary.
Once the PR passes CI this can be submitted.
Thanks @trongle0504 for the new feature.
This change adds the ability to interact with GDB directly in the debug console of VSCode by providing a way to bypass the normal expression evaluation and sending commands to the GDB console input.
To display the value of an expression, type that expression which can reference variables that are in scope. For example type
2 + 3
or the name of a variable. Arbitrary commands can be sent to GDB by prefixing the input with a>
, for example type>show version
or>help
.