Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js

Issue 2696253002: [DevTools] Introduced async step into scheduled function call (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698