By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,680 Members | 1,578 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,680 IT Pros & Developers. It's quick & easy.

System.Diagnostics.Debug.WriteLine

P: n/a
how to use System.Diagnostics.Debug.WriteLine to write directly to a window
viewable during debug mode (similar to Debug.Print in VB6)
Nov 21 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Works the exact same way...

Debug.Writeline("Message here goes to the output window!")

Why?
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
how to use System.Diagnostics.Debug.WriteLine to write directly to a window viewable during debug mode (similar to Debug.Print in VB6)

Nov 21 '05 #2

P: n/a
not on my setup it doesn't .... nothing shows up ... i must have something
misconfigured ...

wxp pro sp1 , vs.net 2003

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:u%****************@TK2MSFTNGP11.phx.gbl...
Works the exact same way...

Debug.Writeline("Message here goes to the output window!")

Why?
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
how to use System.Diagnostics.Debug.WriteLine to write directly to a

window
viewable during debug mode (similar to Debug.Print in VB6)


Nov 21 '05 #3

P: n/a
I can't see what would make this stop working...

Are you running the assembly in debug mode or release mode?

Are you looking at the output window?

"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:eN**************@TK2MSFTNGP15.phx.gbl...
not on my setup it doesn't .... nothing shows up ... i must have something
misconfigured ...

wxp pro sp1 , vs.net 2003

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:u%****************@TK2MSFTNGP11.phx.gbl...
Works the exact same way...

Debug.Writeline("Message here goes to the output window!")

Why?
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
how to use System.Diagnostics.Debug.WriteLine to write directly to a

window
viewable during debug mode (similar to Debug.Print in VB6)



Nov 21 '05 #4

P: n/a
debug mode

yes, looking at output window

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:eC**************@TK2MSFTNGP14.phx.gbl...
I can't see what would make this stop working...

Are you running the assembly in debug mode or release mode?

Are you looking at the output window?

"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:eN**************@TK2MSFTNGP15.phx.gbl...
not on my setup it doesn't .... nothing shows up ... i must have something misconfigured ...

wxp pro sp1 , vs.net 2003

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:u%****************@TK2MSFTNGP11.phx.gbl...
Works the exact same way...

Debug.Writeline("Message here goes to the output window!")

Why?
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
> how to use System.Diagnostics.Debug.WriteLine to write directly to a
window
> viewable during debug mode (similar to Debug.Print in VB6)
>
>



Nov 21 '05 #5

P: n/a
Ok, you got me on this one...

What kind of project are you working on? Give so details about your project
layout and what you are doing. The only time I might expect to see something
like this is if you have the writeline statement in a library being called
by another assembly.

"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:uu**************@TK2MSFTNGP12.phx.gbl...
debug mode

yes, looking at output window

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:eC**************@TK2MSFTNGP14.phx.gbl...
I can't see what would make this stop working...

Are you running the assembly in debug mode or release mode?

Are you looking at the output window?

"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:eN**************@TK2MSFTNGP15.phx.gbl...
not on my setup it doesn't .... nothing shows up ... i must have something misconfigured ...

wxp pro sp1 , vs.net 2003

"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message news:u%****************@TK2MSFTNGP11.phx.gbl...
> Works the exact same way...
>
> Debug.Writeline("Message here goes to the output window!")
>
> Why?
>
>
> "John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
> news:%2****************@TK2MSFTNGP12.phx.gbl...
> > how to use System.Diagnostics.Debug.WriteLine to write directly to a > window
> > viewable during debug mode (similar to Debug.Print in VB6)
> >
> >
>
>



Nov 21 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.