[Mono-bugs] [Bug 688011] New: System.Diagnostics.Debug.WriteLine No Output Under MonoDevelop

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Apr 16 16:26:26 EDT 2011



           Summary: System.Diagnostics.Debug.WriteLine No Output Under
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: 64bit
        OS/Version: Windows 7
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Debugger
        AssignedTo: mkestner at novell.com
        ReportedBy: dennis.quebe at quebesystems.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64;

Using System.Diagnositics.Debug.WriteLine produces no output in the Application
Output (or the Android Log for the Device) under MonoDevelop 2.6 Beta 2
(2.5.91). The same line produces results under MonoDevelop when the application
type is Console (for example). Using Android.Util.Log produces output.

Reproducible: Always

Steps to Reproduce:
1. Create new solution using default template in MonoDevelop. 
2. In the Click Delegate, add the following: 

System.Diagnostics.Debug.WriteLine ("Clicks: " + count.ToString ());

Android.Util.Log.WriteLine (Android.Util.LogPriority.Info, "Click",
count.ToString ());

3. Debug the Application, check both logs, only see the Android.Util.Log
Actual Results:  
Debug the Application, check both logs, only see the Android.Util.Log output. 

Setting debug property
Forwarding debugger port
Forwarding console port
Starting: Intent { act=android.intent.action.MAIN
cmp=AndroidTest1.AndroidTest1/androidtest1.Activity1 }

Loaded assembly: AndroidTest1.dll
Loaded assembly: Mono.Android.dll [External]
Loaded assembly: System.Core.dll [External]
I/monodroid( 3459): Activating instance of type AndroidTest1.Activity1

I/monodroid( 3459): signature 

Loaded assembly: MonoDroidConstructors [External]
Loaded assembly: System.dll [External]
I/Click   ( 3459): 2
I/Click   ( 3459): 3
I/Click   ( 3459): 4
I/Click   ( 3459): 5

Expected Results:  
Clicks: X with the I/Click

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list