[Mono-bugs] [Bug 509996] New: MDB steps into runtime code
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Jun 4 11:43:20 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=509996
Summary: MDB steps into runtime code
Classification: Mono
Product: Mono: Debugger
Version: 2.4.x
Platform: Other
OS/Version: openSUSE 11.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: cli
AssignedTo: martin at novell.com
ReportedBy: lluis at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=296276)
--> (http://bugzilla.novell.com/attachment.cgi?id=296276)
Test solution
Build the attached solution. Set a breakpoint in MyClass.cs:42. Debug it with
mdb. Try to step into the Run method. The debugger steps into the runtime
instead of the Run method. This is the sequence:
lluis at linux-zn6q:~/Projects/borra343/borra343/bin/Debug> mdb borra343.exe
Mono Debugger
(mdb) b MyClass.cs:42
Breakpoint 2 at MyClass.cs:42
(mdb) r
Starting program: borra343.exe
Thread @1 stopped at #0: 0xb777d2ee in borra343.MainClass.Main(string[])+0x6 at
/home/lluis/Projects/borra343/borra343/Main.cs:35.
35 Console.WriteLine("Hello World!" + new Uri
("http://dfgdg").ToString ());
(mdb) n
Hello World!http://dfgdg/
Thread @1 stopped at #0: 0xb777d352 in borra343.MainClass.Main(string[])+0x6a
at /home/lluis/Projects/borra343/borra343/Main.cs:36.
36 Console.WriteLine("Hello World!");
(mdb) n
Hello World!
Thread @1 stopped at #0: 0xb777d363 in borra343.MainClass.Main(string[])+0x7b
at /home/lluis/Projects/borra343/borra343/Main.cs:37.
37 Console.WriteLine("Hello World!");
(mdb) n
Hello World!
Thread @1 stopped at #0: 0xb777d374 in borra343.MainClass.Main(string[])+0x8c
at /home/lluis/Projects/borra343/borra343/Main.cs:38.
38 Run ();
(mdb) s
Thread @1 stopped at #0: 0x080f6b21 in mono_debugger_main+0xb1.
0x080f6b21 ret
(mdb) bt
(*) #0: 0x080f6b21 in mono_debugger_main+0xb1
#1: 0xb777d379 in borra343.MainClass.Main(string[])+0x91 at
/home/lluis/Projects/borra343/borra343/Main.cs:39
(mdb) s
Thread @1 stopped at #0: 0x080f63c5 in debugger_event_handler+0x35 at
/home/lluis/nowork/mono-2-4/mono/mono/mini/debug-debugger.c:396.
396 }
(mdb) s
Thread @1 stopped at #0: 0x0812fed5 in mono_debug_open_image+0x115 at
/home/lluis/nowork/mono-2-4/mono/mono/metadata/mono-debug.c:393.
393 mono_debugger_unlock ();
(mdb) q
--
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