Thanks for the quick reply.

I got the latest from repository today.

The problem is the second time I do GetAssembly it throws an "Invalid
PE file" exception.

And this even though I have not touched the *.dll at all.

I changed the compilation symbol and it still breaks my assembly.

If I omit the LoadSymbols and SaveSymbols calls my assembly on disc
remains "untouched" and fine.

Regards

Bernhard







On May 12, 2:54 pm, Jb Evain <[email protected]> wrote:
> Hey,
>
> On 5/12/09, seesharper <[email protected]> wrote:
>
> >  I saw that you have updated the PdbFactory to provide a managed
> >  PdbReader by default.
>
> >  I'm having a little bit of trouble using it though.
>
> >  First of all it seem to mess up the weaved assembly even though I save
> >  it to an byte array.
>
> I don't see how changing the pdb reader could mess up an assembly.
>
> >  Another thing I noticed is that breakpoints are not hit as they would
> >  with the unmanaged symbolreader.
>
> Maybe you have pdbs that the managed reader can't deal with. You can
> always fallback to the unmanaged reader. It's just a compilation
> symbol away.
>
> --
> Jb Evain  <[email protected]>
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to