[Mono-dev] MDB file format
Rolf Bjarne Kvinge
rolf at xamarin.com
Thu Dec 15 16:36:08 EST 2011
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:
On Thu, Dec 15, 2011 at 9:20 PM, John Cronin <jncronin at tysos.org> wrote:
> 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?
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list