[Mono-list] Using GDB with C#

Dan Smithers dsmithers at talktalk.net
Thu Dec 6 06:11:53 EST 2007

Thanks John,
this is the sort of information that ought to be on the website somewhere.
I'm still a bit stuck because when I run mndb it shows an error in
mndb.gdbinit on line 387 which is

watch mono_debugger_notification_function

Is this an issue with my mono version?



John M. Anderson wrote:
> On Wed, 2007-12-05 at 10:42 -0500, 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
>> (http://www.mono-project.com/Debugging).
>> Am I missing something really obvious?
>> thanks
>> dan
> You should check out this wiki page:
> http://www.mono-project.com/Debugging#Debugging_with_GDB and you should
> also check out mndb from svn in /mono/mndb which is GDB macros for mono

More information about the Mono-list mailing list