OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 asyncStackTracesStateChanged() { | 153 asyncStackTracesStateChanged() { |
154 const maxAsyncStackChainDepth = 8; | 154 const maxAsyncStackChainDepth = 8; |
155 var enabled = Common.moduleSetting('enableAsyncStackTraces').get() && this._
debuggerEnabled; | 155 var enabled = Common.moduleSetting('enableAsyncStackTraces').get() && this._
debuggerEnabled; |
156 this._agent.setAsyncCallStackDepth(enabled ? maxAsyncStackChainDepth : 0); | 156 this._agent.setAsyncCallStackDepth(enabled ? maxAsyncStackChainDepth : 0); |
157 } | 157 } |
158 | 158 |
159 stepInto() { | 159 stepInto() { |
160 this._agent.stepInto(); | 160 this._agent.stepInto(); |
161 } | 161 } |
162 | 162 |
| 163 stepIntoAsync() { |
| 164 this._agent.stepIntoAsync(); |
| 165 } |
| 166 |
163 stepOver() { | 167 stepOver() { |
164 this._agent.stepOver(); | 168 this._agent.stepOver(); |
165 } | 169 } |
166 | 170 |
167 stepOut() { | 171 stepOut() { |
168 this._agent.stepOut(); | 172 this._agent.stepOut(); |
169 } | 173 } |
170 | 174 |
171 resume() { | 175 resume() { |
172 this._agent.resume(); | 176 this._agent.resume(); |
(...skipping 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1345 stack.callFrames.shift(); | 1349 stack.callFrames.shift(); |
1346 if (previous && (!stack.callFrames.length && !stack.promiseCreationFrame)) | 1350 if (previous && (!stack.callFrames.length && !stack.promiseCreationFrame)) |
1347 previous.parent = stack.parent; | 1351 previous.parent = stack.parent; |
1348 else | 1352 else |
1349 previous = stack; | 1353 previous = stack; |
1350 stack = stack.parent; | 1354 stack = stack.parent; |
1351 } | 1355 } |
1352 return asyncStackTrace; | 1356 return asyncStackTrace; |
1353 } | 1357 } |
1354 }; | 1358 }; |
OLD | NEW |