Skip to content

Conversation

@pieandcakes
Copy link
Collaborator

@pieandcakes pieandcakes commented Jan 10, 2020

in lldb-mi there appears to be "message" instead of "msg" when an error is returned in the -exec-* command results. This is to handle both cases.

Fixes microsoft/vscode-cpptools#2492

@pieandcakes pieandcakes self-assigned this Jan 10, 2020
@pieandcakes pieandcakes changed the title Fix for #2492 Fix for vscode-cpptools/#2492 Jan 10, 2020
@pieandcakes
Copy link
Collaborator Author

The other option is to refactor TryFindString to return a boolean and take an out parameter, but thats a more invasive fix, but it would be the right thing to do. If we want to go that route instead, let me know and I can update the code instead for that solution.

@gregg-miskelly @WardenGnaw

Copy link
Member

@gregg-miskelly gregg-miskelly left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM

@pieandcakes pieandcakes force-pushed the users/piel/fixerrormsg branch from 5d302f4 to 9e274c3 Compare February 24, 2020 20:36
@pieandcakes pieandcakes merged commit 7afd062 into master Feb 24, 2020
@pieandcakes pieandcakes deleted the users/piel/fixerrormsg branch February 24, 2020 20:52
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.

C++ debugging on macOS gets stuck with message "Unrecognized format of field "msg" in result"

3 participants