Index: Source/devtools/front_end/sources/SourcesPanel.js |
diff --git a/Source/devtools/front_end/sources/SourcesPanel.js b/Source/devtools/front_end/sources/SourcesPanel.js |
index c36afc8da100fd145e83d78e4231adbf6933557e..89fe31e1471b3afbb5ee98eefbf5a308ce8718d5 100644 |
--- a/Source/devtools/front_end/sources/SourcesPanel.js |
+++ b/Source/devtools/front_end/sources/SourcesPanel.js |
@@ -466,7 +466,7 @@ WebInspector.SourcesPanel.prototype = { |
WebInspector.domBreakpointsSidebarPane.clearBreakpointHighlight(); |
this.sidebarPanes.eventListenerBreakpoints.clearBreakpointHighlight(); |
this.sidebarPanes.xhrBreakpoints.clearBreakpointHighlight(); |
- if (Runtime.experiments.isEnabled("stepIntoAsync")) |
+ if (this.sidebarPanes.asyncOperationBreakpoints) |
this.sidebarPanes.asyncOperationBreakpoints.clearBreakpointHighlight(); |
this._sourcesView.clearCurrentExecutionLine(); |
@@ -753,6 +753,9 @@ WebInspector.SourcesPanel.prototype = { |
this._pauseOnExceptionButton.addEventListener("click", this._togglePauseOnExceptions, this); |
debugToolbar.appendToolbarItem(this._pauseOnExceptionButton); |
+ // Async operations |
+ debugToolbar.appendToolbarItem(new WebInspector.ToolbarCheckbox(WebInspector.UIString("Async"), WebInspector.UIString("Capture async stack traces"), WebInspector.moduleSetting("enableAsyncStackTraces"))); |
+ |
return debugToolbar; |
}, |