Skip to content

Fix stack trace so it shows external code as "deemphasized". #537

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

Merged
merged 1 commit into from
Jul 6, 2017

Conversation

rkeithhill
Copy link
Contributor

No description provided.

Copy link
Contributor

@daviwil daviwil left a comment

Choose a reason for hiding this comment

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

This looks great, thanks man! Merge when ready

/// <summary>
/// Displays the stack frame in a subtle way, typically used from loctaions outside of the current project or workspace.
/// </summary>
Subtle
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be Deemphasize too or are they inconsistent?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Weird as it seems, the PresentationHint on StackFrame has different values than the PresentationHint on Source. https://github.com/Microsoft/vscode-debugadapter-node/blob/master/protocol/src/debugProtocol.ts#L1131

That accounts for part of the confusion I was running into. And then there was also the typo in the VSCode impl. But this works with 1.13.1 so yay!

@rkeithhill rkeithhill merged commit 090c97d into master Jul 6, 2017
@rkeithhill rkeithhill deleted the rkeithhill/fix-extern-code-stack-trace branch July 6, 2017 03:29
TylerLeonhardt pushed a commit to TylerLeonhardt/PowerShellEditorServices that referenced this pull request Feb 26, 2019
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.

3 participants