when searching for solutions to this problem, I came across this topic. I had the same problem and found out something about it.
he LOOK (I really DO NOT KNOW him) that he is connected with the order of things that happen during the assembly process. my idea is this: what happens during build / rebuild (cleaning in my case doesn't matter):
- assembly assembly
- create .pdb for them
- create again, apply postsharp code
- .pdb are not created again (I think !!)
which would mean: .pdb does not match the code being debugged. why do i think so? well, if I disable postharp on the assembly, everything will be fine. when it is turned on, simple code such as "string str =" test "; are, as Nader Shirazi said," not related to the executable code ". which I cannot agree to.
I'm still looking for a โrealโ solution. my current workaround, by disabling postharp for the build, is not really satisfactory since I also want to debug aspects. maybee is just a simple setup. I canโt imagine a tool like postharp, which should improve performance and quality, make debugging unsuccessful ... any?
I may be wrong, but how it looks in my case ...
amuses, jens
source share