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

Unified Diff: Source/devtools/protocol.json

Issue 74063002: DevTools: Support asynchronous call stacks on backend. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Async call stacks are off by default, added Debugger.enableAsyncCallStacks protocol command Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/protocol.json
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
index f7e192d046105c96f28751d0b02849c815f54585..03b6b926ada75b8f900cc7b6c02f3f90f6400d18 100644
--- a/Source/devtools/protocol.json
+++ b/Source/devtools/protocol.json
@@ -2958,7 +2958,8 @@
{ "name": "location", "$ref": "Location", "description": "Location in the source code." },
{ "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." },
{ "name": "this", "$ref": "Runtime.RemoteObject", "description": "<code>this</code> object for this call frame." },
- { "name": "returnValue", "$ref": "Runtime.RemoteObject", "optional": true, "hidden": true, "description": "The value being returned, if the function is at return point." }
+ { "name": "returnValue", "$ref": "Runtime.RemoteObject", "optional": true, "hidden": true, "description": "The value being returned, if the function is at return point." },
+ { "name": "asyncCallFrames", "type": "array", "items": { "$ref": "CallFrame" }, "optional": true, "hidden": true, "description": "Asynchronous call stack, if any." }
yurys 2013/11/20 14:07:57 Why is it property on CallFrame, I believe it shou
aandrey 2013/11/20 15:20:02 Here is the list of commands and events that retur
yurys 2013/11/28 10:35:41 I'd rather add explicit async call stack property
],
"description": "JavaScript call frame. Array of call frames form the call stack."
},
@@ -3248,6 +3249,14 @@
],
"hidden": true,
"description": "Makes backend skip steps in the sources with names matching given pattern. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful."
+ },
+ {
+ "name": "enableAsyncCallStacks",
yurys 2013/11/20 01:23:43 setAsyncCallStackDepth?
aandrey 2013/11/20 15:20:02 Done.
+ "parameters": [
+ { "name": "maxDepth", "type": "integer", "description": "Maximum depth of async call stacks. Setting <code>0</code> will effectively disable async call stacks (default)." }
+ ],
+ "hidden": true,
+ "description": "Enables or disables async call stacks tracking."
}
],
"events": [

Powered by Google App Engine
This is Rietveld 408576698