PC Review


Reply
Thread Tools Rate Thread

Debug.Writeline

 
 
=?Utf-8?B?a2Q=?=
Guest
Posts: n/a
 
      8th Mar 2005
Hi All,

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

Where can one see the output of Debug.Writeline?

Thanks.
kd
 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      8th Mar 2005
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


 
Reply With Quote
 
=?Utf-8?B?a2Q=?=
Guest
Posts: n/a
 
      8th Mar 2005
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


"Cor Ligthert" wrote:

> 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
>
>
>

 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      8th Mar 2005
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


 
Reply With Quote
 
=?Utf-8?B?a2Q=?=
Guest
Posts: n/a
 
      8th Mar 2005
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

"Cor Ligthert" wrote:

> 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
>
>
>

 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      8th Mar 2005
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


 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      8th Mar 2005
"kd" <(E-Mail Removed)> schrieb:
> 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".

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

 
Reply With Quote
 
=?Utf-8?B?RGVubmlz?=
Guest
Posts: n/a
 
      9th Mar 2005
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.

"Herfried K. Wagner [MVP]" wrote:

> "kd" <(E-Mail Removed)> schrieb:
> > 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".
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
>

 
Reply With Quote
 
=?Utf-8?B?a2Q=?=
Guest
Posts: n/a
 
      9th Mar 2005
Hi,

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

kd

"Herfried K. Wagner [MVP]" wrote:

> "kd" <(E-Mail Removed)> schrieb:
> > 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".
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
>

 
Reply With Quote
 
=?Utf-8?B?a2Q=?=
Guest
Posts: n/a
 
      9th Mar 2005
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

"Herfried K. Wagner [MVP]" wrote:

> "kd" <(E-Mail Removed)> schrieb:
> > 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".
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug.WriteLine and Trace.WriteLine Bob S Microsoft C# .NET 2 23rd Oct 2007 03:35 AM
debug.writeline where does it go? Lloyd Sheen Microsoft VB .NET 4 27th Aug 2007 08:35 PM
Console.WriteLine vs. Debug.WriteLine formatting Zytan Microsoft C# .NET 1 27th Feb 2007 02:24 AM
Debug.WriteLine and Trace.WriteLine from class. xxx@hotmail.com Microsoft ASP .NET 0 1st Sep 2005 02:24 PM
How do I use Debug.WriteLine? Jim H Microsoft Dot NET Compact Framework 4 6th Feb 2004 11:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:44 PM.