[Mono-devel-list] Debugging C# application with gdb
dezelin at gmail.com
Mon Feb 21 03:23:03 EST 2005
I have a small test app. I've tried the following
$ gdb mono
GNU gdb Red Hat Linux (6.1post-1.20040607.43rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) r --debug --break Serverski.ServerClass:Main ./Server.exe
Starting program: /usr/local/bin/mono --debug --break
[Thread debugging using libthread_db enabled]
[New Thread -1208071552 (LWP 16033)]
[New Thread 109640624 (LWP 16037)]
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread -1208071552 (LWP 16033)]
0x003085b4 in ?? ()
#0 0x003085b4 in ?? ()
(gdb) add-symbol-file ./Server.exe.mdb
add symbol table from file "./Server.exe.mdb" at
(y or n) y
"/home/skynet/work/c#/Jugodrvo/lib/Server.exe.mdb": can't read
symbols: File format not recognized.
Is there a way I could produce a gdb compatible debugging info with mcs.exe?
Linux is like wighwam, no windows no gates and apache inside...
More information about the Mono-devel-list