Hi,
I must have changed something in VB. My Debug.WriteLine("What ever") statements no longer produce any output in the Output window. The window is blank! I would appreciate help in how to get Debug.WriteLine working once again, thanks.
Hi,
I must have changed something in VB. My Debug.WriteLine("What ever") statements no longer produce any output in the Output window. The window is blank! I would appreciate help in how to get Debug.WriteLine working once again, thanks.
No output from Debug.WriteLine
dr.xaml
Spotty,
Thanks for the help. I'm having the problem in a windows application. The Output window does have a dropdown list named "Show output from:." The list includes Build and Debug. When Build is selected a summary of the last build in displayed. When Debug is selected there is nothing displayed. I have stepped through my code and I know that the Debug.WriteLine statements are being executed.
Chrisjwood
Try Console.writeline and see if that writes to the output window.
wgreer
I'd need to check in Express but in VSTS it is producing the output in the output window whether I use Debug.writeline or Console.writeline.
The dropdown at the top of this window show output from debug was set to Debug.
I'll double check with express when I get into work. Is this a windows or console application that you trying to use this with - just so I can try and duplicate you scenario.
Gabriel Petrovay
Dont ask me why but
Console.writeline will show in the output windows in express
Debug.writeline will show in the immediate window in express.
So this is basically where you should be looking - its a setting in some of the pay versions that by default display the settings in the outputput window for debug - which you would purposely use a setting in Tools -> Options -> Debugging -> General which would all you to redirect all output to the immediate window for debugging
In the express version this item is not available in the IDE.
So hopefully you now know where to look.
mingming
what did you do to make debug.writeline() work again
i know console.writeline() works fine, but i’d like use debug.writeline() as it is meant to be.
asiu
David PG
Spotty,
Thanks, Debug.Writeline was lost and now it's found!