[Mono-dev] MDB file format

John Cronin jncronin at tysos.org
Thu Dec 15 17:05:49 EST 2011

Many thanks.  I was under the (obviously mistaken) impression that the 
DIA SDK was the only API Microsoft provided.


On 15/12/2011 21:36, Rolf Bjarne Kvinge wrote:
> 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 
> <mailto: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
>     <mailto: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/cdfb04ec/attachment.html 

More information about the Mono-devel-list mailing list