Clear Immediate Debug Window (Visual Studio for Mac)

David Dunham 1 Reputation point
2022-01-31T01:20:08.343+00:00

When I use the Immediate window, it fills up with output as I debug.

I would like to erase it so the stuff from the last debug session is gone.

Unlike Xcode (which has a Trash gadget), there doesn’t seem to be a way to do this. No contextual menu does it, either.

I’m happy doing it manually. (https://social.msdn.microsoft.com/Forums/en-US/4678119f-0f8e-4ea3-8f7d-2f3018376bcd/how-to-clear-the-immediate-window?forum=vsx doesn’t seem at all relevant.)

And >cls (from https://learn.microsoft.com/en-us/answers/questions/463287/how-can-i-celar-am-immediate-window-in-ms-vs-cc.html) does not work, at least on the Mac.

How can I clear it?

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
931 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,376 Reputation points Microsoft Vendor
    2022-02-01T02:48:26.657+00:00

    Hi @David Dunham ,

    Our tag(vs-debugging) is related to Visual Studio IDE, which is different from Visual Studio for MAC. Please start a new thread in the Visual Studio for MAC of Developer Community where you will get a better support. Thanks for your understanding.

    Sincerely,
    Anna
    *
    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.