You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be a dupe of #29550, but I'm not sure since it's a rethrow and there's no finally involved (I think the behaviour of both is unexpected, perhaps questionable).
If you run with "break on unhandled exceptions", the debugger never breaks, but you get a crash. My interpretation is that the exception being raised by rethrow is unhandled (hence the crash) and should break the debugger.
It is my belief that (at least) JavaScript, C#, Java would all break there.
The text was updated successfully, but these errors were encountered:
Rethrow should behave the same as throwing from debugger point of view. Thus, notify debugger for possibly pausing on exceptions.
Bug: #36907
Change-Id: I84886fd8f3e1c579f60802aadb9fdaa4e076b6c1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/102681
Commit-Queue: Zichang Guo <zichangguo@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
This might be a dupe of #29550, but I'm not sure since it's a
rethrow
and there's nofinally
involved (I think the behaviour of both is unexpected, perhaps questionable).Given this code:
If you run with "break on unhandled exceptions", the debugger never breaks, but you get a crash. My interpretation is that the exception being raised by
rethrow
is unhandled (hence the crash) and should break the debugger.It is my belief that (at least) JavaScript, C#, Java would all break there.
The text was updated successfully, but these errors were encountered: