Debug.print in VB 2019 produces no output

Ron Sipherd 276 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.

Developer technologies Visual Studio Debugging
0 comments No comments
{count} vote

Accepted answer
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.