[Mono-osx] Mono debugger installation for Mac OS X Tiger

Miguel de Icaza miguel at novell.com
Thu Mar 29 10:20:30 EDT 2007


Hello,

> I tried to use add-symbol-file command but got 
> (gdb) add-symbol-file name.exe.mdb
> add symbol table from file "name.exe.mdb"(y or n) y
> "/Users/user/nameApp/name.exe.mdb": can't read symbols: File format
> not recognized.

add-symbol-file is only for native symbols, you can not use for Mono
symbols.   The mono symbols are available in methods like mono_pmip
though.

JITed code does not have a symbol table, so you depend on Mono for that
information. 

> 1) how to generate symbol files compatible with gdb and if it is at
> all possible? 

It used to be possible, am not sure if this still work, but in the very
old days we had a way of doing this.   You could google the information,
I remember it used to be part of our debugging documentation.

> 3) Is there any way to use next, step and similar gdb commands with
> managed code?

Not with gdb at this point;   You would need mdb.

Miguel.



More information about the Mono-osx mailing list