[Mono-list] Using GDB with C#
kumpera at gmail.com
Wed Dec 5 11:14:37 EST 2007
GDB is not capable of debuging managed code since you need to way it to be
compiled before actually setting a breakpoint. I set breakpoints at the
magic_trampoline and mono_jit_compile_method, I debug the assembly of it
then. This approach, of course, only suits if you need to debug a runtime
For application code you should use MDB
On Dec 5, 2007 1:42 PM, <dsmithers at talktalk.net> wrote:
> I am trying to debug C# compiled using gmcs -debug with GDB.
> I can run my programme under GDB, but it doesn't see any debug symbols,
> and can't set break points or show backtrace.
> I am running ubuntu 7.04 with GDB 6.6-debian.
> I have added a .gdbinit as described on the mono website (
> Am I missing something really obvious?
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list