Skip to content

Fix infinite loop in the disassembly view#148556

Merged
roblourens merged 3 commits intomicrosoft:mainfrom
bl-nero:fix-disassembly-view
May 6, 2022
Merged

Fix infinite loop in the disassembly view#148556
roblourens merged 3 commits intomicrosoft:mainfrom
bl-nero:fix-disassembly-view

Conversation

@bl-nero
Copy link
Copy Markdown
Contributor

@bl-nero bl-nero commented May 2, 2022

This change reuses the existing binary search algorithm, generalizing it to
work with non-Array containers. Fixes #147163.

This PR fixes #147163. The underlying algorithm is unit tested; the UI can been verified by following the associated issue's reproduction instructions both on modified mock debugger extension, as well as on unmodified one (omitting step 2).

This change reuses the existing binary search algorithm, generalizing it to
work with non-Array containers. Fixes microsoft#147163.
@ghost
Copy link
Copy Markdown

ghost commented May 2, 2022

CLA assistant check
All CLA requirements met.

Copy link
Copy Markdown
Member

@roblourens roblourens left a comment

Choose a reason for hiding this comment

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

Looks good, just a couple comments, thank you!

@sbatten sbatten self-requested a review May 6, 2022 21:25
@roblourens roblourens merged commit 95a97e8 into microsoft:main May 6, 2022
@bl-nero bl-nero deleted the fix-disassembly-view branch May 7, 2022 07:18
@github-actions github-actions bot locked and limited conversation to collaborators Jun 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VS Code freezes when showing a disassembly view if the top stack frame's instruction pointer points between disassembled instructions

3 participants