Files
sdk/runtime/vm
Jens Johansen c6aa3a22a7 [vm] [debugger] Fix for not breaking in library with mixin
In the VM, a single script can belong to several libraries because of
mixins.

Previously, when setting a breakpoint, it found the function to set the
breakpoint in by taking the "scripts library" (script.FindLibrary) and
then tried to find a function in that library that matched.
Sometimes it found the "wrong" library and the breakpoint thus wasn't
set.

This CL changes that so it goes though all libraries, finds all maching
libraries and tries all of them.

This solves the issue at hand, but might not solve all corner-cases.

This added test demonstrates the resolved case where before it would
just say that it couldn't add the breakpoint on line 13.

Change-Id: Ie44b0dfb4ea3e8de767d1867ec432b2aef429b76
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/133592
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
2020-02-04 08:43:21 +00:00
..
2019-08-08 00:47:55 +00:00
2019-10-07 18:13:06 +00:00
2019-10-27 18:18:29 +00:00
2020-01-27 15:59:56 +00:00
2018-11-01 16:37:22 +00:00
2019-01-25 16:45:13 +00:00
2019-06-03 14:36:04 +00:00
2019-06-03 14:36:04 +00:00
2019-05-06 21:01:39 +00:00
2019-11-01 19:08:42 +00:00
2019-10-17 16:51:32 +00:00
2018-12-10 23:15:27 +00:00
2018-12-10 23:15:27 +00:00
2020-01-24 09:04:56 +00:00
2020-02-03 17:22:05 +00:00
2020-02-03 17:22:05 +00:00
2019-10-17 16:51:32 +00:00
2019-10-17 16:51:32 +00:00