| Index: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| index 09cf0a8058b8f3b613ca0164b9fb8b043216be28..a81fa0c4773f009fa4b7872fa751ac3e4cd83d8b 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
|
| @@ -645,14 +645,16 @@ Sources.SourcesPanel = class extends UI.Panel {
|
| if (!executionContext)
|
| return;
|
| // Always use 0 column.
|
| - var rawLocation =
|
| - Bindings.debuggerWorkspaceBinding.uiLocationToRawLocation(uiLocation.uiSourceCode, uiLocation.lineNumber, 0);
|
| - if (!rawLocation || rawLocation.debuggerModel !== executionContext.debuggerModel)
|
| + var rawLocations =
|
| + Bindings.debuggerWorkspaceBinding.uiLocationToRawLocations(uiLocation.uiSourceCode, uiLocation.lineNumber, 0);
|
| + // TODO(kozyatinskiy): make it possible to continue to multiple locations (whichever is hit first).
|
| + var location = rawLocations.find(location => location.debuggerModel === executionContext.debuggerModel);
|
| + if (!location)
|
| return;
|
| if (!this._prepareToResume())
|
| return;
|
|
|
| - rawLocation.continueToLocation();
|
| + location.continueToLocation();
|
| }
|
|
|
| _toggleBreakpointsActive() {
|
|
|