Debugger pauses on wrong line with debugger() in catch block #46006
Labels
area-vm
Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
vm-debugger
Raised by @4amVim at Dart-Code/Dart-Code#3337. I could repro using the supplied Flutter sample in Android Studio too, though was also able to reduce it to a standard CLI script using latest nightly build:
The pause event has
tokenPos: 101
, and thetokenPosTable
looks like this:This prevents examining the
e
variable since it appears to have gone out of scope.The text was updated successfully, but these errors were encountered: