PostSharp , PDB Debugging and Referenced Assemblies
Asked Answered
S

1

1

When using PostSharp with a Referenced Assembly with proper PDB info( checked with chkmatch), it seems strange that the debug info gets lost by VStudio build and post compile process and I get the following error by using chkmatch to compare the assembly after the vstudio build.

Error: Debug information not found in the executable.

So it doesn't step into for debugging into this assembly.

Does Post Sharp properly writes back the Assemblies without destroying the PDB location offset info as I saw no valid offset info in the written back into DLL by PostSharp using Hex Editor and What's the workaround for this ?

Sika answered 5/1, 2010 at 14:13 Comment(1)
Please use this answer: #31299657 It will solve your problem.Starnes
H
1

Yes, PostSharp writes back PDB files (with proper transformations), so there should be no problem with Visual Studio. I don't know what could be wrong; maybe you could try to load them manually (in the Module window of VS) and see what happens.

Hawfinch answered 5/1, 2010 at 14:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.