[Mono-list] Debug Files *.mdb

Jonathan Pryor jonpryor@vt.edu
Wed, 25 Aug 2004 21:28:21 -0400


On Wed, 2004-08-25 at 12:33, Matthew Metnetsky wrote:
> What exactly are the .mdb files created when compiling code with the
> `-debug+` switch on?

They are Dwarf-2 debug symbols (IIRC).

> Are they Access databases?  

No.  "mdb" probably means "MCS Debug", though I'm open to correction.

> How can I view them?

What do you want to view from them?

For complete information, you can always look up the Dwarf file format
documentation (see Google).  It's a standardized symbol format, and
should provide you with a large amount of information.

``mono --debug'' uses the .mdb file to generate line numbers in
exception messages, so that's another (limited) way to view them.

The Mono Debugger, whenever it's finished and integrated into
MonoDevelop, will also provide a way to view them while debugging an
application.

 - Jon