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

Side by Side 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: addressed 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 2947 matching lines...) Expand 10 before | Expand all | Expand 10 after
2958 }, 2958 },
2959 { 2959 {
2960 "id": "CallFrame", 2960 "id": "CallFrame",
2961 "type": "object", 2961 "type": "object",
2962 "properties": [ 2962 "properties": [
2963 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier. This identifier is only valid while the virtual machi ne is paused." }, 2963 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier. This identifier is only valid while the virtual machi ne is paused." },
2964 { "name": "functionName", "type": "string", "description": " Name of the JavaScript function called on this call frame." }, 2964 { "name": "functionName", "type": "string", "description": " Name of the JavaScript function called on this call frame." },
2965 { "name": "location", "$ref": "Location", "description": "Lo cation in the source code." }, 2965 { "name": "location", "$ref": "Location", "description": "Lo cation in the source code." },
2966 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." }, 2966 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." },
2967 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." }, 2967 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." },
2968 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "hidden": true, "description": "The value being returned, if the function is at return point." } 2968 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "hidden": true, "description": "The value being returned, if the function is at return point." },
2969 { "name": "asyncCallFrames", "type": "array", "items": { "$r ef": "CallFrame" }, "optional": true, "hidden": true, "description": "Asynchrono us call stack, if any." }
2969 ], 2970 ],
2970 "description": "JavaScript call frame. Array of call frames form the call stack." 2971 "description": "JavaScript call frame. Array of call frames form the call stack."
2971 }, 2972 },
2972 { 2973 {
2973 "id": "Scope", 2974 "id": "Scope",
2974 "type": "object", 2975 "type": "object",
2975 "properties": [ 2976 "properties": [
2976 { "name": "type", "type": "string", "enum": ["global", "loca l", "with", "closure", "catch"], "description": "Scope type." }, 2977 { "name": "type", "type": "string", "enum": ["global", "loca l", "with", "closure", "catch"], "description": "Scope type." },
2977 { "name": "object", "$ref": "Runtime.RemoteObject", "descrip tion": "Object representing the scope. For <code>global</code> and <code>with</c ode> scopes it represents the actual object; for the rest of the scopes, it is a rtificial transient object enumerating scope variables as its properties." } 2978 { "name": "object", "$ref": "Runtime.RemoteObject", "descrip tion": "Object representing the scope. For <code>global</code> and <code>with</c ode> scopes it represents the actual object; for the rest of the scopes, it is a rtificial transient object enumerating scope variables as its properties." }
2978 ], 2979 ],
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
3248 "hidden": true, 3249 "hidden": true,
3249 "description": "Returns call stack including variables changed s ince VM was paused. VM must be paused." 3250 "description": "Returns call stack including variables changed s ince VM was paused. VM must be paused."
3250 }, 3251 },
3251 { 3252 {
3252 "name": "skipStackFrames", 3253 "name": "skipStackFrames",
3253 "parameters": [ 3254 "parameters": [
3254 { "name": "script", "optional": true, "type": "string", "des cription": "Regular expression defining the scripts to ignore while stepping." } 3255 { "name": "script", "optional": true, "type": "string", "des cription": "Regular expression defining the scripts to ignore while stepping." }
3255 ], 3256 ],
3256 "hidden": true, 3257 "hidden": true,
3257 "description": "Makes backend skip steps in the sources with nam es matching given pattern. VM will try leave blacklisted scripts by performing ' step in' several times, finally resorting to 'step out' if unsuccessful." 3258 "description": "Makes backend skip steps in the sources with nam es matching given pattern. VM will try leave blacklisted scripts by performing ' step in' several times, finally resorting to 'step out' if unsuccessful."
3259 },
3260 {
3261 "name": "setAsyncCallStackDepth",
3262 "parameters": [
3263 { "name": "maxDepth", "type": "integer", "description": "Max imum depth of async call stacks. Setting to <code>0</code> will effectively disa ble collecting async call stacks (default)." }
3264 ],
3265 "hidden": true,
3266 "description": "Enables or disables async call stacks tracking."
3258 } 3267 }
3259 ], 3268 ],
3260 "events": [ 3269 "events": [
3261 { 3270 {
3262 "name": "globalObjectCleared", 3271 "name": "globalObjectCleared",
3263 "description": "Called when global has been cleared and debugger client should reset its state. Happens upon navigation or reload." 3272 "description": "Called when global has been cleared and debugger client should reset its state. Happens upon navigation or reload."
3264 }, 3273 },
3265 { 3274 {
3266 "name": "scriptParsed", 3275 "name": "scriptParsed",
3267 "parameters": [ 3276 "parameters": [
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
4044 "parameters": [ 4053 "parameters": [
4045 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 4054 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
4046 ] 4055 ]
4047 }, 4056 },
4048 { 4057 {
4049 "name": "tracingComplete" 4058 "name": "tracingComplete"
4050 } 4059 }
4051 ] 4060 ]
4052 }] 4061 }]
4053 } 4062 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698