Skip to content
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

disable showing expression values #113

Merged
merged 2 commits into from
Sep 17, 2020
Merged

Conversation

marcrasi
Copy link
Contributor

The recent merge causes LLDB to crash when it tries to show an expression value (with result.description).

This PR replaces all uses of result.description with a few different non-crashing alternatives:

  • When we know the type, of the value, use GetSignedInt32().
  • When GetDescription() works, use that.
  • In a case where even GetDescription() crashes, print a message telling the user that they can show the value using print(). I made Cannot show expression values #112 to track fixing this.

@marcrasi marcrasi merged commit 05aa29b into master Sep 17, 2020
@marcrasi marcrasi deleted the fix_expression_value_showing branch September 17, 2020 18:29
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.

2 participants