You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
debug.inlineValues does not appear to honour line/column information from scope #60150
*out-of-scopePosted issue is not in scope of VS CodedebugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionality
I'm trying to improve the display of debug.inlineVariables for Dart. I saw that would code provide Source and line/column information for a Scope to control where the inline values would appear, but it seems to be ignored in my testing.
I've hard-coded some values from line 6-11:
But when I run, I still see the inline values outside of that range:
PR that fixes this would be welcome.
The PR would only change the behavior for inlineValues, not for debug hover (due to some other closed issues which I do not want to dig out)
Isidor Nikolic (@isidorn) I don't entirely understand what you mean. The code you linked looks like it is filtering based on ranges, so what needs fixing?
(I was under the impression that these fields were added specifically to support inline debugging so I'm wondering if I've misunderstood something, or implemented it incorrectly?)
Also:
we decided to ignore stack frame ranges for inline sources
What do you mean by "inline sources"? These are files on disk - my mapToSource function is returning sources with paths - but it's possible I'm doing that wrong. If you think it should work for sources-on-disk lmk and I'll check I'm not doing something wrong in there.
This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.
*out-of-scopePosted issue is not in scope of VS CodedebugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionality
Activity
isidorn commentedon Oct 8, 2018
As far as I remember we decided to ignore stack frame ranges for inline sources and hover since the stack frame ranges were quite incorrect for node.
Here's a code pointer
https://github.com/Microsoft/vscode/blob/e2027598992e56d7f6f6f26f804d53449ea1a2ee/src/vs/workbench/parts/debug/electron-browser/debugEditorContribution.ts#L618
PR that fixes this would be welcome.
The PR would only change the behavior for inlineValues, not for debug hover (due to some other closed issues which I do not want to dig out)
DanTup commentedon Oct 8, 2018
Isidor Nikolic (@isidorn) I don't entirely understand what you mean. The code you linked looks like it is filtering based on ranges, so what needs fixing?
(I was under the impression that these fields were added specifically to support inline debugging so I'm wondering if I've misunderstood something, or implemented it incorrectly?)
Also:
What do you mean by "inline sources"? These are files on disk - my mapToSource function is returning sources with paths - but it's possible I'm doing that wrong. If you think it should work for sources-on-disk lmk and I'll check I'm not doing something wrong in there.
vscodebot commentedon Oct 8, 2019
This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding and happy coding!