| Index: Source/devtools/front_end/sdk/DebuggerModel.js
|
| diff --git a/Source/devtools/front_end/sdk/DebuggerModel.js b/Source/devtools/front_end/sdk/DebuggerModel.js
|
| index 5ff0e6f03c09caae0e3dc53167a21975905cb8fd..805111c000a62872268653e928489352e7fe78ef 100644
|
| --- a/Source/devtools/front_end/sdk/DebuggerModel.js
|
| +++ b/Source/devtools/front_end/sdk/DebuggerModel.js
|
| @@ -95,6 +95,7 @@ WebInspector.DebuggerModel.BreakReason = {
|
| EventListener: "EventListener",
|
| XHR: "XHR",
|
| Exception: "exception",
|
| + PromiseRejection: "promiseRejection",
|
| Assert: "assert",
|
| CSPViolation: "CSPViolation",
|
| DebugCommand: "debugCommand"
|
| @@ -1097,7 +1098,7 @@ WebInspector.DebuggerPausedDetails.prototype = {
|
| */
|
| exception: function()
|
| {
|
| - if (this.reason !== WebInspector.DebuggerModel.BreakReason.Exception)
|
| + if (this.reason !== WebInspector.DebuggerModel.BreakReason.Exception && this.reason !== WebInspector.DebuggerModel.BreakReason.PromiseRejection)
|
| return null;
|
| return this.target().runtimeModel.createRemoteObject(/** @type {!RuntimeAgent.RemoteObject} */(this.auxData));
|
| },
|
|
|