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 related issue.
For application code you should use MDB On Dec 5, 2007 1:42 PM, <[EMAIL PROTECTED]> 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 ( > http://www.mono-project.com/Debugging). > > Am I missing something really obvious? > > thanks > > dan > > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
