vscode: Last line of multiline strings in debug console not shown

To Reproduce Steps to reproduce the behavior:

  1. Start a debug session and open the debug console
  2. Type "one\ntwo\nthree" and press enter
  3. Observe the echoed output is
    'one
    two
    
image

Log File

VS Code Version:

Version: 1.63.0-insider Commit: d450b04c783dfa6f83dc439017767acccd4e9fac Date: 2021-11-17T07:45:14.150Z (2 days ago) Electron: 13.5.2 Chromium: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Darwin x64 21.1.0

Node used in debug session: 16.13.0.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 21 (21 by maintainers)

Commits related to this issue

Most upvoted comments

I can repro it now, thanks!

There are a few elements with their style.height set to an explicit pixel value. If I bump up those values, the result is no longer clipped. So it’s not just a style issue per se, but more likely, something is not communicating the correct number of lines to the renderer.

image