-
Notifications
You must be signed in to change notification settings - Fork 29.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debug: suport presentationHint = "subtle"
fixes #25162
- Loading branch information
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 comment
on commit b0b5d17
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rkeithhill thanks for the typo, I have fixed it via 3d3167a
Sometimes a stackFrame
can have no source
. As for possible incosistencies in the protocol please create new issues in https://github.com/Microsoft/vscode-debugadapter-node
More about presentationHint
can be found here #5552
@isidorn I believe you have a typo here
presenationHint
should bepresentationHint
(missing at
). Ditto for the next two lines. Also, I'm looking at the protocol here: https://github.com/Microsoft/vscode-debugadapter-node/blob/master/protocol/src/debugProtocol.ts#L1129 and thepresentationHint
field is both onStackFrame
andSource
. It appears the one onSource
takes thedeemphasize
value and the other two below are assigned to theStackFrame.PresentationHint
field - notstackFrame.source.presentationHint
butstackFrame.presentationHint
, right?