Skip to content
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

Impossible to debug method body that was wrapped around with aspect #82

Closed
ghost opened this issue Jan 3, 2019 · 5 comments
Closed
Labels

Comments

@ghost
Copy link

ghost commented Jan 3, 2019

All breakpoints disappears after debug starts.
Sometimes breakpoints marked with exclamation mark with notice: "code is was changed since last time"

image

@pamidur
Copy link
Owner

pamidur commented Jan 3, 2019

The issue is there due to the fact you use old csproj format and thus old debuginfo. I'll look into it and maybe find a way to support old format. Until then you can switch to new debug format (it shouldn't make any difference to your project):
default

@ghost
Copy link
Author

ghost commented Jan 3, 2019

Yes it works now, thanks a lot

@pamidur
Copy link
Owner

pamidur commented Jan 3, 2019

I'll let you know if I can fix it in generic way. Or I'll add it as a known issue.
However issues like this can appear because there are many things(issues) with old csproj format that even Microsoft will not fix. In general I suggest to look at migrating to new csproj format for your projects.

Thanks for your reports, it helps a lot to make AspectInjector better!

@pamidur pamidur closed this as completed in 3ddbf7b Jan 3, 2019
@pamidur
Copy link
Owner

pamidur commented Jan 3, 2019

It should work now with FULL debug info in 2.0.2

@pamidur pamidur added the bug label Jan 3, 2019
@ghost
Copy link
Author

ghost commented Jan 3, 2019

Quick check shows that now its working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant