1ed707703d
This matches behavior of AST-based flow graph builder. Debugger ignores synthetic (is_generated) try blocks when it figures out if thrown exception is unhandled, so in order to ignore all try/finally blocks they should be marked as synthetic. Fixes https://github.com/dart-lang/sdk/issues/38697 Change-Id: I06840362a255b500e1e9317af90a61bbdea2a310 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119726 Reviewed-by: Ryan Macnak <rmacnak@google.com> Reviewed-by: Régis Crelier <regis@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>