microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.68k stars 29.45k forks source link

Debug Console does not show line numbers if an object is in the output #116934

Closed jgreen-linx closed 3 years ago

jgreen-linx commented 3 years ago

Issue Type: Bug

same issue seen here https://stackoverflow.com/questions/65623994/vs-code-debug-console-not-showing-line-number-for-logs AARxf

VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:04.245Z) OS version: Windows_NT x64 10.0.18363

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2904)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|15.85GB (3.55GB free)| |Process Argv|C:\\Users\\jgreen\\Documents\\IOT\\PrinterNet2\\PrinterNet2_Web --crash-reporter-id 958af838-57b0-4c12-8841-a0dfa18e60b7| |Screen Reader|no| |VM|0%|
Extensions (30) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|2.1.0 angulardoc-vscode|Ang|6.1.3 atlascode|atl|2.8.5 vscode-browser-preview|auc|0.6.7 doxdocgen|csc|1.1.0 githistory|don|0.6.14 tslint|eg2|1.0.44 vscode-npm-script|eg2|0.3.16 bitbake|Eug|1.1.2 align-mode|Gru|0.0.21 todo-tree|Gru|0.0.196 beautify|Hoo|1.5.0 svg|joc|1.4.5 Angular2|joh|11.0.0 Angular-BeastCode|Mik|10.0.3 python|ms-|2021.2.576481509 jupyter|ms-|2021.2.576440691 cpptools|ms-|1.2.1 vscode-typescript-tslint-plugin|ms-|1.3.3 debugger-for-chrome|msj|4.12.12 printcode|nob|3.0.0 vetur|oct|0.32.0 material-icon-theme|PKi|4.5.0 vscode-yaml|red|0.15.0 bash-beautify|sha|0.1.1 code-spell-checker|str|1.10.2 cmake|twx|0.0.17 vscode-counter|uct|2.2.2 JavaScriptSnippets|xab|1.8.0 html-css-class-completion|Zig|1.20.0
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstry244:30256636 pythonvsdeb440:30248342 pythonvsded773:30248341 pythonvspyt600cf:30251589 ```
isidorn commented 3 years ago

I acknowledge this issue. The js-debug extension properly sends the source location, but we do not render the source for objects coming from output. Reason being: we re-use the variables renderer from the variables view and that one does not render source objects. We could improve this in the future. Also this was never working.

barrard commented 3 years ago

Also this was never working.

As far as I can recall, it did work at one point and it was very nice to have. It stopped about 10 months ago I think.

jgreen-linx commented 3 years ago

Also this was never working.

As far as I can recall, it did work at one point and it was very nice to have. It stopped about 10 months ago I think.

Yes it did use to work with no issues. I see it as a regression in what they used to do

vanowm commented 3 years ago

Any reasons why this feature is not even considered?

grv87 commented 2 months ago

Looks that it was reopened as #137100