-
Notifications
You must be signed in to change notification settings - Fork 117
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
Local variables in sync methods are not visible in the VS debugger #217
Comments
It is a side effect of the way around method is implemented. I didn't catch it earlier somehow :) |
please see if 2.8.2-pre3 fixes it for you? |
Yes, it`s work! |
@pamidur |
I just released 2.8.2 today. It should contain all the latest fixes.
I'll update Aspect.Universal soon
…On Fri, 7 Jul 2023, 20:53 Stef Heyenrath, ***@***.***> wrote:
@pamidur <https://github.com/pamidur>
Can you please release an official *2.8.3* release (and also update
Aspects.Universal to use this latest fixed version 2.8.3 from
AspectInjector) ?
—
Reply to this email directly, view it on GitHub
<#217 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7HZUEMVNS7ME53RUE5LALXO7E7XANCNFSM6AAAAAAYNOIDAM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@pamidur
Could this still be an issue? |
I well could. Please reopen the issue, I'll take a look at exception block
behaviour
…On Tue, 1 Aug 2023, 17:56 Stef Heyenrath, ***@***.***> wrote:
@pamidur <https://github.com/pamidur>
I'm used the 2.8.2 and 2.8.3-pre1 but for some reason I still get the
same issue for an exception in a try-catch ?
[image: image]
<https://user-images.githubusercontent.com/249938/257418351-65f69674-4f0d-44ea-9922-fbb0dc230d04.png>
Note that this method is synchronous.
------------------------------
Could this still be an issue?
—
Reply to this email directly, view it on GitHub
<#217 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7HZUEQTCNNG2H6I4ODRE3XTCLATANCNFSM6AAAAAAYNOIDAM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@pamidur - I cannot reopen this issue because I did not create it. |
No worries, I'm on it |
Hello, |
Did you have time yet to fix this? |
still looking into it, sorry, don't have much time recently :( |
I've solved this issue with a split of Around Advice in Before and After. And now the debugger works fine :
and
|
Environment:
Describe the bug
Local variables are not visible when debugging synchronous methods when using AspectInjector.
To Reproduce
I am using example from README
Use with synchronous test method.
And get that exception:
But with async method it works correctly:
Additional info:
Old issue for async methods
#71
The text was updated successfully, but these errors were encountered: