2871699e89
Since any instruction is a possible pause point when single stepping in the interpreter, the debugger may pause too early when stepping over an expression; for example, if the value returned from an expression is ignored, stepping over the expression should also step over the following Drop1 instruction (which will have the same source location), but currently does not. To avoid this, set last_stepping_fp_ and last_stepping_pos_ when stepping over either a sync or async expression so that the debugger won't pause until a new source position is reached. TEST=pkg/vm_service/test Cq-Include-Trybots: luci.dart.try:vm-dyn-linux-debug-x64-try,vm-dyn-mac-debug-arm64-try Change-Id: I0934f6bda3fc075a225a85b66eccf46b94cb4020 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/449420 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com>