[Mono-bugs] [Bug 678234] Crash while debugging on a real device

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 15 15:30:32 EDT 2011



Jonathan Pryor <jpryor at novell.com> changed:

           What    |Removed                     |Added
                 CC|                            |jpryor at novell.com

--- Comment #5 from Jonathan Pryor <jpryor at novell.com> 2011-03-15 19:30:31 UTC ---
To test debugging, I take the default template generated by VS/MD, "expand" the
button.Click event so that it spans multiple lines, then set a breakpoint on
the button.Text call:

    button.Click += delegate {
        button.Text = string.Format ("{0} clicks!", count++); // set breakpoint

That usually works for me on my Nexus One.

One note about setting a breakpoint in OnCreate(): while I haven't tried it, I
do know that if OnCreate() takes "too long" you'll get an "Application Not
Responding" dialog, which will prompt the user to either Wait or Kill the

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