Debug.print in VB 2019 produces no output

Ron Sipherd 236 Reputation points
2021-09-02T22:19:43.903+00:00

Not sure when this occurred - possibly when I upgraded from VS 2017 to 2019 - but the Debug.Print method has ceased to produce results for me.
The Output window opens at run time, but nothing appears in it.
Have checked
Options | Debugging | Output Window | All debug output | On

and don't recall making any changes that could prevent output.
Trying to print a string or a literal, no difference.
Creating a new project from scratch, no difference.
devenv.exe is 16.7.30523.14
I may be missing something obvious, but I can't find 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.
947 questions
0 comments No comments
{count} vote

Accepted answer
  1. Anna Xiu-MSFT 26,231 Reputation points Microsoft Vendor
    2021-09-03T03:09:25.743+00:00

    Hi @Ron Sipherd ,

    Welcome to Microsoft Q&A!

    Which version of Visual Studio are you using? Please update your VS to the latest version.

    Then, please ensure that the option Redirect all Output Window text to the Immediate Window is unchecked. It is under Tools > Options > Debugging > General.

    Besides, you can try to reset the vs settings by simply going over to Tools > Import and Export settings > Reset all settings.

    Sincerely,
    Anna

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      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.

0 additional answers

Sort by: Most helpful