Hey,

On 4/24/09, seesharper <[email protected]> wrote:
>  1. The SaveSymbols seems to update the pdb on disc while I want
>  "updated" debug information that can be loaded into the main appdomain
>  using the
>  public static Assembly Load(byte[] rawAssembly,byte[] rawSymbolStore)
>  overload.

Right, we don't support a way to get a byte[] containing the pdb,
unless you store both the assembly and the pdb on disc. I'll have a
look at what Cecil and Cecil.Pdb can do.

>  2. Even when trying to modify the pdb (using SaveSymbols()) on disc it
>  seems to fail and somehow mess up the debug info even if I did not
>  make any changes to the assembly in the first place.

You probably have a mismatch between the pdb and the assembly. We
still have a known issue with the pdbwriter, which sometimes emits a
wrong debug header in the assembly, but otherwise, that part is
working.

-- 
Jb Evain  <[email protected]>

--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to