[Mono-dev] MDB file format

Rolf Bjarne Kvinge rolf at xamarin.com
Thu Dec 15 16:36:08 EST 2011


Hi,

As far as I know there is no formal specification, and historically the
format hasn't been very stable either.

What might be a better approach would be to read pdb directly - this is
possible (Microsoft has released C# code to read pdb files):
http://ccimetadata.codeplex.com. You can also have a look at cecil (which
uses the code from Microsoft:
https://github.com/jbevain/cecil/tree/master/symbols/pdb/Microsoft.Cci.Pdb).

Rolf

On Thu, Dec 15, 2011 at 9:20 PM, John Cronin <jncronin at tysos.org> wrote:

> Hi,
>
> I am writing a remote debugger for a c# operating system.  I have
> assembly-level debugging working but am now trying to implement
> source-level debugging and for this I need some way to link source code
> lines with the appropriate offset in the CIL code.  I use csc to compile
> the source and then convert the generated pdb to an mdb file with
> pdb2mdb but now I am having difficulty reading the mdb file.  Is there
> anywhere I can find formal specifications of the mono debugging format
> (.mdb) file format, and if so, how stable is the specification?
>
> Regards,
> John.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111215/75f2ef48/attachment-0001.html 


More information about the Mono-devel-list mailing list