Skip to content

[gdb] Don't throw an exception for types that have no fields #196

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

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

cbiesinger
Copy link
Collaborator

@cbiesinger cbiesinger commented Aug 19, 2019

The JsDbg frontend will call GetAllFields even for types such as
'char'. For such types, accessing .fields() will throw an exception,
which makes the Objdiff extension fail. Instead, just return [].

The JsDbg frontend will call GetAllFields even for types such as
'char'. For such types, accessing .fields() will throw an exception,
which makes the Objdiff extension fail. Instead, just return [].
@cbiesinger cbiesinger merged commit 4acbfa8 into MicrosoftEdge:master Aug 20, 2019
@cbiesinger cbiesinger deleted the fields branch August 20, 2019 19:39
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