-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JetBrains dotCover can't read pdb-files produced by Aspect Injector #107
Comments
Hi, ps. do you know if there is any lib that I can use to check the validity of pdb at runtime (tests)? |
Unfortunately, no, I don't know, sorry. I use our own JetBrains pdb reader, but it's not public. |
Would you mind to check if v2.2.3 fix the issue, please? |
It did not |
There were some changes recently, could you please check it against 2.4.1 if this issue is still relevant |
The issue is not resolved. |
tracked in #150 |
dotCover considers pdb-files to be invalid:
It seems to me that the problem is caused by the FluentIL.MethodEditor.Instead extension which clears method body instructions, but doesn't clear method variables: https://github.com/pamidur/fluent-il/blob/cf245d3e7cb9dab3e72c08b847a7adc5f49d915b/src/FluentIL/MethodEditor.cs#L50
Because of that MonoCecil writes to pdb-files invalid scopes debug info.
The text was updated successfully, but these errors were encountered: