Conversation

andyleejordan

@andyleejordanandyleejordan force-pushed the andschwa/debugger branch 3 times, most recently from c53be4f to 817a3f6 Compare December 19, 2022 21:03
@andyleejordanandyleejordan changed the title Fix some bugs in the debugger Fix several bugs in the debugger Dec 19, 2022
@andyleejordanandyleejordan marked this pull request as ready for review December 19, 2022 21:54
@andyleejordanandyleejordan requested a review from a team December 19, 2022 21:54
@andyleejordanandyleejordan force-pushed the andschwa/debugger branch 2 times, most recently from d751d6e to 0ef094e Compare December 19, 2022 22:06
@andyleejordan

@JustinGrote I accidentally implemented the same idea you had in #1688 to fix another bug, so I borrowed your test. Can you pull this branch and give it a whack, see how it does? Things seem good to me.

@andyleejordanandyleejordan force-pushed the andschwa/debugger branch 2 times, most recently from 1e24ba0 to 36af0ee Compare December 20, 2022 19:06
andyleejordan and others added 3 commits December 20, 2022 11:24
Which fixes our test that gets the properties of a process object, since
the value for `ExitCode` fails (as the process hasn't ended), we now
handle that a bit more gracefully and can get all 130 properties.

This also seemed to fix the overall bug where lots of expected
properties failed to show up. While investigating, I also found many
properties duplicated, seemingly due to being retrieved both off the
PSObject and off the .NET object, so now when we do the latter we check
(by name) that it hasn't already been added.
This now works fine since the expansion takes place on the pipeline
thread.
So that it doesn't deadlock with the pipeline thread.

Choose a reason for hiding this comment

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

LGTM! Well done, this is gonna be a huge boost to UX ❤️

@andyleejordanandyleejordan merged commit c0ff2ce into main Dec 20, 2022
@andyleejordanandyleejordan deleted the andschwa/debugger branch December 20, 2022 20:20
Sign up for free to join this conversation on . Already have an account? Sign in to comment
Area-Debugging Issue-BugA bug to squash.
None yet

Successfully merging this pull request may close these issues.

Internal error when expanding auto variable holding Linq.GroupBy result.