Skip to content

Conversation

@oldnewthing
Copy link
Member

hresult_error displays the wrapped hresult.

array_view displays the size and the first few elements. It expands to the elements in the view, in the form of an array.

hresult_error displays the wrapped hresult.

array_view displays the size and the first few elements.
It expands to the elements in the view, in the form of
an array.
@sylveon
Copy link
Contributor

sylveon commented Apr 2, 2021

Might be harder but it would be nice if hresult_error's natvis could display the restricted error information, if any, since sometimes you have a useless error code ("Catastrophic failure") but a good description of the issue in the stashed IRestrictedErrorInfo*

@oldnewthing
Copy link
Member Author

Yes, it would be nice. But it's also harder.

@kennykerr
Copy link
Collaborator

That would require a debugger extension for runtime execution of code, not something the natvis format itself supports.

@kennykerr kennykerr merged commit 3d80b91 into master Apr 4, 2021
@kennykerr kennykerr deleted the natvis branch April 4, 2021 01:11
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.

5 participants