-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support SteppingGranularity & instruction stepping #309
Support SteppingGranularity & instruction stepping #309
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am delighted to see you brining this to the adapter.
8296075
to
5d8ad17
Compare
c8ba46b
to
7d0e04a
Compare
Who is battling? "yarn format" uses prettier, I have prettier installed in the IDE so it formats on save. Maybe we should add it to |
Yeah, it's the battle between VSCode's default formatter and Prettier. It would likely be helpful to add Prettier to the recommendations & add
to the The difficulty with Prettier is that it's so versatile, so setting it up is easy with the preference above, but disabling it means setting a bunch of language-specific things:
|
8f9ff80
to
8e3dcd5
Compare
Alright, @jonahgraham, I seem to have finally managed to write tests that weren't foolishly specific to my machine, if you wouldn't mind taking a look. |
Your change looks good to me, I have made a couple of commits to make the test code more generic. Please see commits for details as to why I suggest such changes. |
Thanks for the fixes! Could you explain the significance of this part?
I saw that comment / commit message in other test cases, but I didn't and still don't understand why that particular change is important. |
For a function like this: int method(void) {
call_something();
} some combinations of GCC/GDB versions consider line 1 (line with If you want I can dig through my history for which combinations do which thing. Is that change ok to you? |
Yeah, definitely OK - just wanted to understand better why it was needed. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you squash and rebase (and then merge if CI approves)?
4a3154a
to
20e1671
Compare
20e1671
to
cbb16d2
Compare
Sorry for the multiple pushes - was confused about where your commits lived, but I believe I've got them now. |
No worries - it is sort of weird that reviewers can push to contributor branches :-) |
Adds support for these features/bug fixes in the adapter: - A fix the newline handling for the UART - eclipse-cdt-cloud/cdt-gdb-adapter#318 - New feature of supporting stepping granularity - eclipse-cdt-cloud/cdt-gdb-adapter#309
This PR adds support for
SteppingGranularity
to thenext
andstepIn
requests, e.g. from the VSCode disassembly view.To do:
tomorrownext week.