system.console.writeline

system.console.writeline

Post by farsee » Tue, 30 Aug 2005 09:49:14


Hello,
why is it that System.Console.WriteLine does not print out any
statemens to the Quick COnsole Window using VS2005 beta2?

How can i print out debug statements to a console window?
 
 
 

system.console.writeline

Post by Chris Tack » Tue, 30 Aug 2005 23:54:16

Console.WriteLine will write to the device Console, if it has one. Pocket
PC/Windows Mobile doesn't have a Console unless you install a 3rd party one.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.yqcomputer.com/

 
 
 

system.console.writeline

Post by farsee » Wed, 31 Aug 2005 11:50:10

ugh...that makes it a bit difficult to debug without tracing thru the
code...
 
 
 

system.console.writeline

Post by » Wed, 31 Aug 2005 12:04:35

Nothing says you can't install a Console.

http://www.yqcomputer.com/

-Chris
 
 
 

system.console.writeline

Post by farsee » Sun, 04 Sep 2005 13:48:09

thanks ctacle. So is there anything i can do as far as Visual Studio
itself? for instance, when i am debugging with an emulator?
 
 
 

system.console.writeline

Post by JW » Mon, 05 Sep 2005 22:12:24

Have you asked Google? I am pretty sure that I have seen a solution
somewhere that connects the emulator to the VS output window. If I see
it again soon I will send you email.

Regards,

James.

PS. Just quickly I found
http://www.yqcomputer.com/
want to try in the meantime.
 
 
 

system.console.writeline

Post by Daniel Mot » Mon, 12 Sep 2005 02:31:47

With VS2005, use Debug.WriteLine instead and it will output to the VS window

For VS.NET 2003, as others have indicated, you need to workaround it:
http://www.yqcomputer.com/

Cheers
Daniel