Debug.Writeline

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

This question may sound very silly....anyway, here is goes!

Where can one see the output of Debug.Writeline?

Thanks.
kd
 
KD,

This one is not silly it was in the beginning a problem for me as well and
seldom asked in this newsgroup.

Open in View -> OtherWindows -> Output,

You see it is really good hidden.

I hope this helps,

Cor
 
Cor,

The Output window, I guess is the window which displays the result of
compiliation. This window is already open in my IDE. The output window,
however does not show the result of Debug.Writeline

kd
 
KD,

Strange

This program in debug mode
\\\
Public Class KD
Public Shared Sub Main()
Debug.WriteLine("Hello KD")
End Sub
End Class
///
has this as result in my output window

Hello KD
The program '[2132] TestProject16.exe' has exited with code 0 (0x0).

Can you try it?

Cor
 
Cor,

I tried your program too.

I don't get the result in my output window!

Wonder whether there is any setting which enables/disables this feature!

kd
 
KD,
Wonder whether there is any setting which enables/disables this feature!

Not that I know and because that I have strugled with it in past, I don't
think that I find it direct.

So you can see that I have changed the subject, because this is than a
typical Herfried problem (or for others when they know of course).

Cor
 
kd said:
This question may sound very silly....anyway, here is goes!

Where can one see the output of Debug.Writeline?

Make sure VS.NET's configuration combobox (this combobox is embedded into
VS.NET's toolbar) is set to "Debug".
 
Cor/Herfried, thanks...I continue to learn from you two. I had been trying
to get this to work but it seemed that it should have been so simple that I
was embarassed to ask. Thanks to you two, I now have a better way to debug
my applications.
 
Hi,

I have set the configuration as 'Debug' and yet the output of
Debug.Writeline is not directed to the outout window.

kd
 
Hi,

I think, I was too fast to choose this post as the answer to my query. I
have set the configuration to Debug and yet, the output of Debug.WriteLine is
not shown in the output window.

Any suggestion would be appreciated.
Thanks

kd
 
KD,

Are you sure because I was ashamed that I did not tell you that about the
debug setting I was thinking that that was obvious.

Can you try this one (what than always shows it in that output window)
\\\
Public Class KD
Public Shared Sub Main()
Console.WriteLine("Hello KD")
End Sub
End Class
///
Cor
 
How are you starting the application? Are you just pressing F5 or are you
using CTRL F5?

Gerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top