Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
| Search | Today's Posts | Mark Forums Read
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 22nd, 2005, 12:27 PM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default System.Diagnostics in C# 2005 Express

When I use Debug.Write("blah"); nothing is written to the output window when I debug my code.. Having never attempted C# before I'm lost to thinking of a reason..

Umm. Help?

  #2 (permalink)  
Old January 28th, 2008, 12:42 PM
Authorized User
 
Join Date: Dec 2004
Location: Swindon, Wilts, United Kingdom.
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to DZukiewicz
Default

If your code is compiled in Release mode, then any reference to Debug is ignored.

Also, try running DebugView.exe (Sysinternals tool) and seeing if your output is captured there.

Regards,

Dominic


Similar Threads
Thread Thread Starter Forum Replies Last Post
intergrating telnet through System.Diagnostics.Pro sudhirbharti C# 4 March 11th, 2008 11:19 AM
System.Diagnostics.Process.Exited Event bmains General .NET 1 February 25th, 2008 07:23 AM
System.diagnostics sapsatin General .NET 0 January 11th, 2007 09:26 AM
System.Diagnostics.Process doesn't work on W2K M/C kan_lenny Pro VB.NET 2002/2003 1 December 23rd, 2006 03:53 AM
System.Diagnostics.Process doesn't work on W2K m/c kan_lenny VB.NET 0 October 2nd, 2006 07:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.