[Mono-bugs] [Bug 574541] New: The value of locale variables displayed using Monotools is not the same as in MS-land

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 27 17:03:27 EST 2010



           Summary: The value of locale variables displayed using
                    Monotools is not the same as in MS-land
    Classification: Mono
           Product: Mono: Tools
           Version: MonoVS 1.1
          Platform: i686
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: jpobst at novell.com
        ReportedBy: novell at balsover.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
Gecko/20070309 Firefox/ (.NET CLR 3.5.30729)

private void button1_Click(object sender, EventArgs e)

In the above event handler the local variables do not show up in the locals
list of Visual studio and when I place the mouse over EventArgs (or sender for
that matter) it only shows the class type listed in this code, not the real
object that is being passed.  For example, in Visual Studio when the debugger
reaches this event handler Visual Studio lists EventArgs as a MouseEventArgs
which is what e really is, sender is a button control I beleive but Monotools
only lists these two objects as an object and a EventArgs.

Is the fact that they don't show their derived type a bug or not? I guess that
this is up to your definition, but not having them show up in the locals list
sounds like a bug to me.

Reproducible: Always

Steps to Reproduce:
1.create a simple windows form app with a button on it and an event handler
wired to the button
2.set a break point in the event handler, press the button
Actual Results:  
variables do not show up in the locals list, variables are listed as the type
listed in the parameter list, not as the derived type that is actually
delivered to the event handler.

Expected Results:  
local variables displayed in list
type variable types displayed by debugger.

Configure bugmail: http://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