Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug Console sometimes ignores logging of empty lines #24308

Closed
kayahr opened this issue Apr 8, 2017 · 1 comment
Closed

Debug Console sometimes ignores logging of empty lines #24308

kayahr opened this issue Apr 8, 2017 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues verified Verification succeeded
Milestone

Comments

@kayahr
Copy link

kayahr commented Apr 8, 2017

  • VSCode Version: 1.11.1
  • OS Version: Debian GNU/Linux 8.7

Steps to Reproduce:

  1. Write a small Node application like this:
for (let i = 0; i < 100; i++) {
    console.log();
    console.log("test", i);
}
  1. Launch it in the debugger and check the output on the debug console. You'll see that sometimes there is no empty line between the "test" lines. The output is always different. So if you don't see the problem then try again or scroll up.

The problem can't be reproduced in the terminal, only in the debug console. console.log("") also doesn't work. Logging a single space character instead works.

Here is a screenshot showing the problem (Notice the missing line breaks between test65/test66 and test79/test80/test81):

broken-empty-lines

@weinand weinand assigned isidorn and unassigned weinand Apr 9, 2017
@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues bug Issue identified by VS Code Team member as probable bug debug-console labels Apr 9, 2017
@isidorn isidorn added this to the April 2017 milestone Apr 10, 2017
@dbaeumer
Copy link
Member

Verified using the provided test case.

@dbaeumer dbaeumer added the verified Verification succeeded label Apr 28, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants