Missing source information causing "identical line collapsing" in VsCode Debug Console
See original GitHub issueHello everyone,
TLDR: “Ominisharp console output” is not providing “Source Information” to VsCode https://github.com/microsoft/vscode/issues/141218
Description (using browser)
Yesterday we noticed that when debugging inside VsCode some code that tried to write to StdOut
, these lines could be collapsed.
This is the same things that you could see on Chromium-based browser.
Remember for later that the first example is not grouping while the second one is.
This can also be tempered with:
In VsCode
Javascript:
C# / F#:
Settings ?
We opened an issue on VsCode and we were hinted at:
issue is … we did not knew or set it, meaning we were running with the default value all along and still have 2 different output on the same settings which lead us here:
From @weinand => https://github.com/microsoft/vscode/issues/141218
If console output provides source information (in the following screenshot on the right hand side), then lines are only collapsed if their source is identical. @isidorn is this correct? The following example shows that identical lines are collapsed in Node.js for the loop but not for individual console.log statements:
If a debug extension does not provide source information, then identical are always collapsed. This seems to be the case for C# and F#.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top GitHub Comments
I think we (VS Code) should consider not to collapse lines if there is no source info available.
@gregg-miskelly your opinion?
fine for me l, just double checking