-
Notifications
You must be signed in to change notification settings - Fork 81
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
vm: add RemoveBreakPoint support #3674
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.
LGTM.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3674 +/- ##
==========================================
+ Coverage 83.08% 83.14% +0.06%
==========================================
Files 334 334
Lines 46590 46599 +9
==========================================
+ Hits 38710 38746 +36
+ Misses 6310 6279 -31
- Partials 1570 1574 +4 ☔ View full report in Codecov by Sentry. |
7f7b264
to
d91a6d2
Compare
Some extensions need to be reviewed.
Slightly off-topic but relevant for me. Are you open to exposing the following? Line 33 in dda2caf
and Lines 68 to 69 in dda2caf
because if not then I'll have to fork anyway and we can skip this PR and #3675 to save you some time. I need access to these slots or I can't display stack frame information. I'm aware of the |
If an external application needs it, then I don't have objections. But
Could you please clarify, which issues? Because I'd expect
Let's finalize it, I consider this PR useful. |
I understand this is sensitive data that shouldn't be changed, but how are they different from the current
I'll consume whatever is made available 🙏
Assume the following type DebugContext {
StackFrames []StackFrame `json:"stackFrames"`
}
type StackFrame struct {
Arguments string `json:"arguments"`
Statics string `json:"statics"`
Locals string `json:"locals"`
NextIP int `json:"nextIp"`
CurIP int `json:"curIp"`
}
...
for i, ctx := range ic.VM.Istack() {
frames[i] = StackFrame{
Arguments: ctx.DumpArgumentsSlot(),
Statics: ctx.DumpStaticSlot(),
Locals: ctx.DumpLocalSlot(),
NextIP: ctx.NextIP(),
CurIP: ctx.IP(),
}
} marshalling this gives for example
1 problem here is that
|
From that point you're right, so to be honest I don't have any strong objections against of creating a set of |
d91a6d2
to
31706a7
Compare
I can't seem to reply to #3674 (comment) so I'll do it here
I did not add a mention because I believe the current implementation of |
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.
Please, adjust the commit message to describe all changes implemented in this commit or split the RP into multiple commits (ref. https://github.com/nspcc-dev/.github/blob/master/git.md#logical-separation). Also, Contribution guidelines
and Lint
jobs are failing, add signed-off-by
to the commit message and fix the linter issues.
Otherwise LGTM.
472262e
to
a220795
Compare
if this ain't the right format then I give up |
It's the right one! |
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.
Also needs @roman-khimov's approval.
BTW, please also add |
Close nspcc-dev#3673 Signed-off-by: ixje <[email protected]>
a220795
to
d8ea410
Compare
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'd really prefer to see real names in Author/SOB (and log, respectively), but it's up to you.
Problem
#3673
Solution
add function