Skip to content
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

Allow stack frame without source as top stack frame when using disassembly view #143649

Merged
merged 1 commit into from Mar 14, 2022

Conversation

xisui-MSFT
Copy link
Contributor

When there's a top stack frame that doesn't have source code but has instructionPointerReference, it was not considered as top stack frame regardless of the view. However, in this case, disassembly is available, and therefore causes confusion. In this PR, top frame finding logic is changed so when using disassembly view, stack frame without source and with instructionPointerReference is allowed to be top stack frame.

@xisui-MSFT
Copy link
Contributor Author

@roblourens @weinand Can you please take a look at this PR?

@weinand weinand assigned roblourens and unassigned weinand Feb 22, 2022
@weinand weinand added the debug Debug viewlet, configurations, breakpoints, adapter issues label Feb 22, 2022
@weinand weinand self-requested a review February 22, 2022 23:35
Copy link
Contributor

@weinand weinand 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 to me.

@roblourens roblourens added this to the March 2022 milestone Feb 23, 2022
@roblourens roblourens merged commit 7fb18b6 into microsoft:main Mar 14, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants