Skip to content

Conversation

@ilonatommy
Copy link
Member

Fixes #63041.

@ilonatommy ilonatommy requested a review from thaystg January 10, 2022 11:28
@ghost ghost added the area-Debugger-mono label Jan 10, 2022
@ilonatommy ilonatommy self-assigned this Jan 10, 2022
@ghost
Copy link

ghost commented Jan 10, 2022

Tagging subscribers to this area: @thaystg
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #63041.

Author: ilonatommy
Assignees: -
Labels:

area-Debugger-mono

Milestone: -

@ilonatommy ilonatommy removed the request for review from marek-safar January 10, 2022 11:28
@ilonatommy ilonatommy added the arch-wasm WebAssembly architecture label Jan 10, 2022
@ghost
Copy link

ghost commented Jan 10, 2022

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #63041.

Author: ilonatommy
Assignees: ilonatommy
Labels:

arch-wasm, area-Debugger-mono

Milestone: -

@ilonatommy ilonatommy added this to the 7.0.0 milestone Jan 10, 2022
@ilonatommy ilonatommy requested a review from lambdageek January 10, 2022 11:41
@ilonatommy ilonatommy changed the title Add getter properties unfolding in structures. [wasm][debugger] Add getter properties unfolding in structures. Jan 10, 2022
@ilonatommy ilonatommy requested review from radical and thaystg January 11, 2022 07:54
@ilonatommy ilonatommy merged commit 61d5a4a into dotnet:main Jan 11, 2022
@ilonatommy ilonatommy deleted the structure-getters-63041 branch January 11, 2022 13:54
Comment on lines +1545 to +1546
valueTypes.TryGetValue(objectId, out var valueType);
if (valueType != null)
Copy link
Member

Choose a reason for hiding this comment

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

if (valueTypes.TryGetValue(objectId, out var valueType))
    return await InvokeMethod(valueType.valueTypeBuffer, methodId, varName, token);

Try* pattern returns true when the call succeeds, and the out param has a valid value.

@ghost ghost locked as resolved and limited conversation to collaborators Feb 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-Debugger-mono

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[debugger][wasm] Check if Runtime.GetProperties works for structures with getters

3 participants