How to connect the VS2010 debugger to the SheepAop assembly?

I give SheepAOP a transition to a new project, but I am at a point where I cannot use the VS2010 debugger. Breakpoints are not recognized and it looks like pdbs are not in sync with woven code.

I tried this with the sample provided on the SheepAOP website , but there was no cigar.

+3
source share
1 answer

SheepAspect creates bytecodes that are specifically designed to support debugging, but one thing I think is necessary is to include "Only my code" in your VS debugging options. You can still reach your aspect code with a breakpoint regardless of this option, but to take your F11 (step-in) jump into your aspect, I believe that the option “Only my code” is required. Otherwise, it will only skip your (original) code, skipping any embedded aspect that it can go through. (I was going to add this to the "Tips for Debugging and Testing Modules" section).

, , , Visual Studio, , , "", , , " " .

, .

( )

+3

All Articles