[Mono-bugs] [Bug 387506] New: Usability: stack traces do not include parameter names

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 6 23:45:55 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=387506


           Summary: Usability: stack traces do not include parameter names
           Product: Mono: Debugger
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: cli
        AssignedTo: martin at novell.com
        ReportedBy: miguel at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


I was debugging an application, and I noticed that I could not just examine
parameters without looking at the source since the "where" command does not
show the parameter names nor are the parameters shown when a thread stops:

Thread @7 stopped at #0: 0xb78626d3 in
System.Activator.CreateInstance(System.Type, System.Reflection.BindingFlags,
System.Reflection.Binder, object[], System.Globalization.CultureInfo,
object[])+0x123 at /second/home/cvs/mcs/class/corlib/System/Activator.cs:262.
 262                    ConstructorInfo ctor = (ConstructorInfo)
binder.SelectMethod (bindingAttr, type.GetConstructors (bindingAttr), atypes,
null);

(mdb) where
(*) #0: 0xb7862f41 in
System.Reflection.Binder/Default.SelectMethod(System.Reflection.BindingFlags,
System.Reflection.MethodBase[], System.Type[],
System.Reflection.ParameterModifier[])+0x9 at
/second/home/cvs/mcs/class/corlib/System.Reflection/Binder.cs:365
    #1: 0xb7862705 in System.Activator.CreateInstance(System.Type,
System.Reflection.BindingFlags, System.Reflection.Binder, object[],
System.Globalization.CultureInfo, object[])+0x155 at
/second/home/cvs/mcs/class/corlib/System/Activator.cs:262
    #2: 0xb786251c in System.Activator.CreateInstance(System.Type, object[],
object[])+0x24 at /second/home/cvs/mcs/class/corlib/System/Activator.cs:227
    #3: 0xb78624e2 in System.Activator.CreateInstance(System.Type,
object[])+0x22 at /second/home/cvs/mcs/class/corlib/System/Activator.cs:222
    #4: 0xb785d0ac in
System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo,
bool, bool)+0x21c at
/second/home/cvs/mcs/class/corlib/System.Resources/ResourceManager.cs:355
    #5: 0xb785d259 in
System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo,
bool, bool)+0x3c9 at
/second/home/cvs/mcs/class/corlib/System.Resources/ResourceManager.cs:386
    #6: 0xb785d259 in
System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo,
bool, bool)+0x3c9 at
/second/home/cvs/mcs/class/corlib/System.Resources/ResourceManager.cs:386
    #7: 0xb785c895 in System.Resources.ResourceManager.GetStream(string,
System.Globalization.CultureInfo)+0x35 at
/second/home/cvs/mcs/class/corlib/System.Resources/ResourceManager.cs:302
    #8: 0xb785c843 in System.Resources.ResourceManager.GetStream(string)+0xb at
/second/home/cvs/mcs/class/corlib/System.Resources/ResourceManager.cs:291
    #9: 0xb7858282 in T.Main()+0x4a at /second/home/cvs/moon/test.cs:12


-- 
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