-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Consider hiding stack frames when using Invoke #68923
Comments
Tagging subscribers to this area: @dotnet/area-system-reflection Issue DetailsPer comment and reply from #67917 (comment) we should consider hiding the 2 extra outer (actual exception, not the inner) frames that we now have when an invoked method throws an exception which is subsequently wrapped with a
|
It is generally agreed that we should be hiding the extra stack frames that were added due to Emit-based invoke. We either need reconcile why native code in |
Hi @steveharter I've noticed the same today during testing: It wasn't here in past. |
Moving to v8 to consider. Not considered high priority. I believe the last stack frame is always preserved with |
Per comment and reply from #67917 (comment) we should consider hiding the 2 extra outer (actual exception, not the inner) frames that we now have when an invoked method throws an exception which is subsequently wrapped with a
TargetInvocationException
.The text was updated successfully, but these errors were encountered: