Skip to content

Embedded console regressions #2441

@Grimelios

Description

@Grimelios
using System;
using System.Threading;

namespace MyNamespace
{
    static
    {
        public static void Main()
        {
            // Arbitrarily large value that guarantees that printed output will extend past the bottom of the embedded console.
            for (let i < 10'000)
            {
                Console.WriteLine(scope $"Line {i}: this is a long string, long enough to trigger text wrapping functionality within the IDE's embedded console. Unfortunately, text wrapping appears to be dysfunctional at this time.");

                // Adjust if you'd like to reach the bottom of the embedded console faster.
                Thread.Sleep(500);
            }
        }
    }
}

Tested on nightly 05/18/2026. I've identified two problems with the IDE's embedded console (Preferences -> Settings -> Console -> Debug Console -> Embedded). I believe these are regressions, although I don't know precisely which release caused them.

  1. Text wrapping no longer respects the console window's width. For example, here's a screenshot using a narrow console window showing how most of the long string is cut off. Some quick experimentation indicates that text is wrapped at 120 characters regardless of the console's width.
Image
  1. The embedded console no longer auto-scrolls to ensure that printed output remains visible. The behavior here is odd: the console does eventually begin auto-scrolling, but it lags behind by about 33 lines. In the image below, note how the console indicates Ln 134 despite "Line 101" being the last visible output.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions