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

Debugger should flush Console.Write buffer more often #6598

Closed
gregg-miskelly opened this issue Oct 25, 2023 · 1 comment
Closed

Debugger should flush Console.Write buffer more often #6598

gregg-miskelly opened this issue Oct 25, 2023 · 1 comment

Comments

@gregg-miskelly
Copy link
Contributor

Steps to reproduce

  1. Create a new console app
  2. Replace Program.cs with the following
  3. Launch it under the debugger

Expected behavior

The text sent to Console.Write should be written to the output window in a reasonable amount of time

Actual behavior

The text doesn't appear until the program writes a newline.

Program.cs

Console.Write("Enter a number: ");
int num = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Number was: {0}", num);
@gregg-miskelly gregg-miskelly self-assigned this Oct 25, 2023
gregg-miskelly added a commit that referenced this issue Nov 2, 2023
This PR updates the version of the debugger to 2.9.0. This includes various bug fixes, but most importantly:

* #6598 -- fixes support for writing to the console without a newline character (`Console.Write` case)
* #6585 -- fix problems with logpoint handling
@gregg-miskelly
Copy link
Contributor Author

Fixed in the next version of the extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant