[Mono-dev] debugging with mono

Andy Somogyi andy_somogyi at hotmail.com
Tue Dec 27 01:31:07 EST 2005


Hello All

I have a stupid question regaurding debugging with mono.

I am using Fedora 4 (x86-32), with a binary install of mono 1.1.12.1 and a 
fresh svn build of winforms and I seem to be having some difuculties getting 
a program to debug. I can run the program fine when I do not try to set a 
breakpoint, however when I set a breakpoint, the runtime dies. I run the 
following command to try to debug:

[andy at marvin hello]# mono -v  --break MWFTestApplication.MainWindow:Main 
swf-hello.exe
Method (wrapper managed-to-native) 
System.Object:__icall_wrapper_mono_thread_interruption_checkpoint () emitted 
at 0x121350 to 0x12137a [swf-hello.exe]
Method (wrapper managed-to-native) 
System.Object:__icall_wrapper_mono_thread_force_interruption_checkpoint () 
emitted at 0x121380 to 0x1213ba [swf-hello.exe]
Method (wrapper runtime-invoke) System.Object:runtime_invoke_void_string 
(object,intptr,intptr,intptr) emitted at 0x1213c0 to 0x121457 
[swf-hello.exe]
Method System.OutOfMemoryException:.ctor (string) emitted at 0x121458 to 
0x12147b [swf-hello.exe]
Method System.SystemException:.ctor (string) emitted at 0x1214a0 to 0x1214c3 
[swf-hello.exe]
Method System.Exception:.ctor (string) emitted at 0x1214d8 to 0x1214f0 
[swf-hello.exe]
Method System.Exception:set_HResult (int) emitted at 0x1214f8 to 0x121506 
[swf-hello.exe]
Method System.NullReferenceException:.ctor (string) emitted at 0x121508 to 
0x12152b [swf-hello.exe]
Method System.StackOverflowException:.ctor (string) emitted at 0x121530 to 
0x121543 [swf-hello.exe]
Method (wrapper runtime-invoke) System.Object:runtime_invoke_void_string[] 
(object,intptr,intptr,intptr) emitted at 0x1217f8 to 0x12188a 
[swf-hello.exe]Method (wrapper managed-to-native) 
System.Object:__icall_wrapper_mono_object_new_specific (intptr) emitted at 
0x1226e0 to 0x122726 [swf-hello.exe]
Method MWFTestApplication.MainWindow:Main (string[]) emitted at 0x122728 to 
0x122750 [swf-hello.exe]
Trace/breakpoint trap


Any ideas?





More information about the Mono-devel-list mailing list