00922a0c11
Instead of only adding source information if the initializer is null or one of a few possibilities, instead add a source position if emitting a store and the variable is not synthesized. This matches an earlier change which added source information when setting the value of a non-synthesized variable. Remove _variableSetNeedsDebugCheck and also remove the only other use of it as a guard for emitting source positions (static field sets). TEST=pkg/vm_service/test/breakpoint_on_record_assignment_test Cq-Include-Trybots: luci.dart.try:vm-dyn-linux-debug-x64-try,vm-dyn-mac-debug-arm64-try Change-Id: I02b3e118f36714f1e6e29bf9cced7dcd5da8e532 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/456980 Auto-Submit: Tess Strickland <sstrickl@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>