dart-sdk/runtime
Bruno Leroux 2481cf76f5 [ VM / Service ] Fix 'dart:' scripts lookup
Bug: VM service `addBreakpointWithScriptUri` and `addBreakpoint` don't add valid breakpoints for code in `dart:` libraries. See #47204

This PR contains :
- a new test : 'service/break_on_dart_colon_test.dart', that checks several URIs to register breakpoints in `dart:` libs.
- a fix in `Debugger::SetBreakpointAtLineCol` to make it calls `Library::LookupScript'` with the right value for `useResolvedUri` parameter.

Fixes https://github.com/dart-lang/sdk/issues/47204

TEST=runtime/observatory/tests/service/break_on_dart_colon_test.dart

Change-Id: Id3d6722c278e3238202a9d84a0d34612b957035c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213766
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2021-09-24 01:20:38 +00:00
..
bin [ CLI / VM ] Add support for disabling DDS 2021-09-16 20:31:45 +00:00
docs [vm] Rename clustered_snapshot.h/cc to app_snapshot.h/cc. 2021-09-16 00:13:34 +00:00
include [vm] Remove Dart_GetImportsOfScheme. 2021-09-14 21:18:37 +00:00
lib [vm] Adds args_n to FFI resolver. 2021-09-13 07:57:00 +00:00
observatory [ VM / Service ] Fix 'dart:' scripts lookup 2021-09-24 01:20:38 +00:00
observatory_2 [ VM / Service ] Fix 'dart:' scripts lookup 2021-09-24 01:20:38 +00:00
platform [vm] Remove support for dart-ext: imports 2021-09-02 14:14:35 +00:00
tests [gardening] Skip vm/dart_2/v8_snapshot_profile_writer_test on tsan bot 2021-09-16 18:09:35 +00:00
third_party [tools] Update all iteritems -> items 2021-05-20 11:36:52 +00:00
tools [dartfuzz] Fix time units in 'Isolate busy' message 2021-09-20 22:04:15 +00:00
vm [ VM / Service ] Fix 'dart:' scripts lookup 2021-09-24 01:20:38 +00:00
.clang-tidy
.gitignore
BUILD.gn Allow deprecated copy on fuchsia 2021-08-11 01:14:22 +00:00
codereview.settings
configs.gni
CPPLINT.cfg
PRESUBMIT.py [python3] Migrate PRESUBMIT.py files 2021-08-16 08:29:54 +00:00
runtime_args.gni [wasm] Remove deprecated dart_enable_wasm flag. 2021-04-01 22:45:07 +00:00