[Mono-bugs] [Bug 32875][Wis] New - Debug.WriteLine does not work on Windows

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
25 Oct 2002 23:55:50 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by danmorg@sc.rr.com.

http://bugzilla.ximian.com/show_bug.cgi?id=32875

--- shadow/32875	Fri Oct 25 19:55:50 2002
+++ shadow/32875.tmp.23480	Fri Oct 25 19:55:50 2002
@@ -0,0 +1,48 @@
+Bug#: 32875
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: danmorg@sc.rr.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Debug.WriteLine does not work on Windows
+
+Description of Problem:
+
+Get Warning when running Mono:
+** (sqlsharpgtk.exe:1828): WARNING **: Failed to load function 
+OutputDebugString
+ from kernel32.dll
+
+In the source code to sqlsharpgtk.cs, I have:
+
+Debug.AutoFlush = true;
+
+Debug.WriteLine ("DEBUG: some text");
+
+My debug text never shows up.
+
+Steps to reproduce the problem:
+1. use Debug.WriteLine in application
+2. build application (for me sqlsharpgtk.cs)
+3. run "mono sqlsharpgtk.exe"
+
+Actual Results:
+Mono JIT warning about failed to load function OutputDebugString
+ from kernel32.dll
+
+Expected Results:
+output in the console
+"DEBUG: some text"
+
+How often does this happen? 
+all the time