[Mono-bugs] [Bug 464122] Impossible to set a breakpoint to throw

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 19 12:13:12 EST 2009


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

User martin at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=464122#c3





--- Comment #3 from Martin Baulig <martin at novell.com>  2009-01-19 10:13:06 MST ---
Works for me:

====
asgard at gondor:debugger$ mdb -run /work/asgard/mono/mcs/mcs/mcs.exe -debug
/test/J.cs
Mono Debugger
Starting program: /work/asgard/mono/mcs/mcs/mcs.exe -debug ./test/J.cs
Thread @1 stopped at #0: 0x40ba2a41 in Mono.CSharp.Driver.Main(string[])+0x11
at /work/asgard/mono/mcs/mcs/driver.cs:294.
 294             RootContext.Version = LanguageVersion.Default;
(mdb) b MethodBuilder.cs:341
Breakpoint 4 at System.Reflection.Emit.MethodBuilder.fixup():341
(mdb) b MethodBuilder.cs:343
Breakpoint 5 at System.Reflection.Emit.MethodBuilder.fixup():343
(mdb) b MethodBuilder.cs:348
Breakpoint 6 at System.Reflection.Emit.MethodBuilder.fixup():348
(mdb) c
Thread @1 hit breakpoint 4 at #0: 0x416f555d in
System.Reflection.Emit.MethodBuilder.fixup()+0xd at
/work/asgard/mono/mcs/class/corlib/System.Reflection.Emit/MethodBuilder.cs:341.
 341             if (((attrs & (MethodAttributes.Abstract |
MethodAttributes.PinvokeImpl)) == 0) && ((iattrs &
(MethodImplAttributes.Runtime | MethodImplAttributes.InternalCall)) == 0)) {
(mdb) 
======

Did you use a different line ?

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