[Mono-devel-list] debugging problems
Chris Nuernberger
cnuernberger at extendthereach.com
Sat Jul 17 18:15:04 EDT 2004
Anyone tried to debug a gtk-sharp app? The debugger chokes really quick
when I try to do this. I have built a glade app using monodevelop, and am
just playing around trying to run it in the debugger (mdb). Here is the
output:
Mono Debugger
Cannot read DWARF debugging info from symbol file
`/usr/lib/libicui18n.so.28':
Mono.Debugger.Architecture.DwarfException:
/usr/lib/libicui18n.so.28: Can't find DWARF 2
debugging info
in [0x0002f] (at
/home/chris/dev/csharp/debugger/arch/DwarfReader.cs:617)
Mono.Debugger.Architecture.DwarfReader:create_reader_func
(object)
in <0x00059> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_object_object (object)
in [0x00071] (at
/home/chris/dev/csharp/debugger/classes/ObjectCache.cs:126)
Mono.Debugger.ObjectCache:get_Data ()
in [0x0000c] (at
/home/chris/dev/csharp/debugger/arch/DwarfReader.cs:650)
Mono.Debugger.Architecture.DwarfReader:get_DebugPubnamesReader
()
in [0x00001] (at
/home/chris/dev/csharp/debugger/arch/DwarfReader.cs:582)
Mono.Debugger.Architecture.DwarfReader:read_pubnames
()
in [0x001aa] (at
/home/chris/dev/csharp/debugger/arch/DwarfReader.cs:164)
Mono.Debugger.Architecture.DwarfReader:.ctor
(Mono.Debugger.Architecture.Bfd,Mono.Debugger.Module,Mono.Debugger.SourceFil
eFactory)
in [0x00048] (at
/home/chris/dev/csharp/debugger/arch/Bfd.cs:647)
Mono.Debugger.Architecture.Bfd:load_dwarf ()
Cannot read DWARF debugging info from symbol file
`/usr/lib/libicuuc.so.28':
Mono.Debugger.Architecture.DwarfException:
/usr/lib/libicuuc.so.28: Can't find DWARF 2 debugging
info
in [0x0002f] (at
/home/chris/dev/csharp/debugger/arch/DwarfReader.cs:617)
Mono.Debugger.Architecture.DwarfReader:create_reader_func
(object)
in <0x00059> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_object_object (object)
in [0x00071] (at
/home/chris/dev/csharp/debugger/classes/ObjectCache.cs:126)
Mono.Debugger.ObjectCache:get_Data ()
in [0x0000c] (at
/home/chris/dev/csharp/debugger/arch/DwarfReader.cs:650)
Mono.Debugger.Architecture.DwarfReader:get_DebugPubnamesReader
()
in [0x00001] (at
/home/chris/dev/csharp/debugger/arch/DwarfReader.cs:582)
Mono.Debugger.Architecture.DwarfReader:read_pubnames
()
in [0x001aa] (at
/home/chris/dev/csharp/debugger/arch/DwarfReader.cs:164)
Mono.Debugger.Architecture.DwarfReader:.ctor
(Mono.Debugger.Architecture.Bfd,Mono.Debugger.Module,Mono.Debugger.SourceFil
eFactory)
in [0x00048] (at
/home/chris/dev/csharp/debugger/arch/Bfd.cs:647)
Mono.Debugger.Architecture.Bfd:load_dwarf ()
Cannot read DWARF debugging info from symbol file
`/usr/lib/libicudata.so.28':
Mono.Debugger.Architecture.DwarfException:
/usr/lib/libicudata.so.28: Can't find DWARF 2
debugging info
in [0x0002f] (at
/home/chris/dev/csharp/debugger/arch/DwarfReader.cs:617)
Mono.Debugger.Architecture.DwarfReader:create_reader_func
(object)
in <0x00059> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_object_object (object)
in [0x00071] (at
/home/chris/dev/csharp/debugger/classes/ObjectCache.cs:126)
Mono.Debugger.ObjectCache:get_Data ()
in [0x0000c] (at
/home/chris/dev/csharp/debugger/arch/DwarfReader.cs:650)
Mono.Debugger.Architecture.DwarfReader:get_DebugPubnamesReader
()
in [0x00001] (at
/home/chris/dev/csharp/debugger/arch/DwarfReader.cs:582)
Mono.Debugger.Architecture.DwarfReader:read_pubnames
()
in [0x001aa] (at
/home/chris/dev/csharp/debugger/arch/DwarfReader.cs:164)
Mono.Debugger.Architecture.DwarfReader:.ctor
(Mono.Debugger.Architecture.Bfd,Mono.Debugger.Module,Mono.Debugger.SourceFil
eFactory)
in [0x00048] (at
/home/chris/dev/csharp/debugger/arch/Bfd.cs:647)
Mono.Debugger.Architecture.Bfd:load_dwarf ()
Process @3 stopped at #0: 0x41385a3b in
VScriptApp.Main(System.String[])+0xb at
/home/chris/dev/vscript/Main.cs:15.
15 new VScriptApp (args);
(mdb) continue
Process @3 received signal 11 at #0: 0x400f2557 in
mono_debug_get_domain_data+0x67 at
/home/chris/dev/csharp/mono/mono/metadata/mono-debug.c:455.
455 data->jit = g_new0 (MonoDebugMethodJitInfo *,
read32(&(handle->symfile->offset_table->_method_count))
+ 1);
(mdb)
So basically there are a set of libs the debugger can't figure out, and then
when I just try to run the program, it catches a signal 11 (sigsegv).
I honestly haven't tried to debug a basic program yet, probably should start
with a pure c# assembly, but I figured I would play with gtk#.
More information about the Mono-devel-list
mailing list