Skip to content

Conversation

@cbiesinger
Copy link
Collaborator

@cbiesinger cbiesinger commented May 3, 2019

Fixes #77

cbiesinger added 2 commits May 3, 2019 13:22
Share the type formatting code with SFieldResult, to fix pointer
handling.

Also fixes a typo (s -> self) and correctly passes the symbol
to SSymbolResult.
@cbiesinger cbiesinger changed the title [gdb] Fix off-by-one error in GetCallStack and GetSymbolsInStackFrame [gdb] Fix bugs in GetCallStack and GetSymbolsInStackFrame May 3, 2019
@cbiesinger
Copy link
Collaborator Author

I've repurposed this pull request to fix all the issues in GetCallStack and GetSymbolsInStackFrame; they work for me now when I call JsDbg.GetCallStack / JsDbg.LookupLocalsInStackFrame


List<SStackFrame> result = new List<SStackFrame>();

int index = 1; // Skip initial '"' character
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this just a bug before or has something changed such that now we don't see the '"' character?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fairly sure that this is basically the same issue as #21

Maybe @MSLaguana could comment better

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I think it is the same; probably from when I switched from parsing the gdb mi format to doing everything via python.

@cbiesinger cbiesinger merged commit 6c698fe into MicrosoftEdge:jsdbg_gdb_support May 6, 2019
@cbiesinger cbiesinger deleted the gdb-callstack branch May 6, 2019 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants