[Mono-bugs] [Bug 541840] New: Cannot inspect any exception variable

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 24 12:00:01 EDT 2009


           Summary: Cannot inspect any exception variable
    Classification: Mono
           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: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

using System;

class Program
    static void Main (string[] args)
        try {
            int.Parse ("k5");
        } catch (Exception e) {
            Console.WriteLine (e);


mdb bug-mdb.exe
Mono Debugger
(mdb) r
Starting program: bug-mdb.exe 
Thread @1 stopped at #0: 0xb6f902ad in Program.Main(string[])+0xd at
   8             int.Parse ("k5");
(mdb) n
Thread @1 caught exception at #0: 0xb6f902c0 in Program.Main(string[])+0x20 at
   9         } catch (Exception e) {
(mdb) n
Thread @1 stopped at #0: 0xb6f902c9 in Program.Main(string[])+0x29 at
  10             Console.WriteLine (e);
(mdb) p e
ERROR: No symbol `e' in current context.

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