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

Respect stackframe deemphasize in getTopStackFrame #211855

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

OccasionalDebugger
Copy link
Contributor

Fixes #211854

This PR adds consideration of the value 'deemphasize' on a StackFrame to the logic for selecting the top stack frame of a given thread. This brings the selection logic in line with the display logic used by the CallStackView, where a frame with the presentation hint deemphasize is treated the same as a frame whose source has such a presentation hint.

@OccasionalDebugger OccasionalDebugger force-pushed the improvement/respect-deemphasize-in-top branch 2 times, most recently from 6b9c17a to 66775b8 Compare May 3, 2024 01:45
@OccasionalDebugger OccasionalDebugger force-pushed the improvement/respect-deemphasize-in-top branch from 66775b8 to 45ae3b3 Compare May 7, 2024 13:45
@roblourens
Copy link
Member

Does js-debug set this? Haven't tried it but it looks right. cc @connor4312

Copy link
Member

@connor4312 connor4312 left a comment

Choose a reason for hiding this comment

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

yes, in smartStep/skipFiles

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.

Call stack view & debug model handle stack frame deemphasize presentation hint inconsistently
3 participants