OLD | NEW |
---|---|
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 2940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2951 }, | 2951 }, |
2952 { | 2952 { |
2953 "id": "CallFrame", | 2953 "id": "CallFrame", |
2954 "type": "object", | 2954 "type": "object", |
2955 "properties": [ | 2955 "properties": [ |
2956 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier. This identifier is only valid while the virtual machi ne is paused." }, | 2956 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier. This identifier is only valid while the virtual machi ne is paused." }, |
2957 { "name": "functionName", "type": "string", "description": " Name of the JavaScript function called on this call frame." }, | 2957 { "name": "functionName", "type": "string", "description": " Name of the JavaScript function called on this call frame." }, |
2958 { "name": "location", "$ref": "Location", "description": "Lo cation in the source code." }, | 2958 { "name": "location", "$ref": "Location", "description": "Lo cation in the source code." }, |
2959 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." }, | 2959 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." }, |
2960 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." }, | 2960 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." }, |
2961 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "hidden": true, "description": "The value being returned, if the function is at return point." } | 2961 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "hidden": true, "description": "The value being returned, if the function is at return point." }, |
2962 { "name": "asyncCallFrames", "type": "array", "items": { "$r ef": "CallFrame" }, "optional": true, "hidden": true, "description": "Asynchrono us 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
| |
2962 ], | 2963 ], |
2963 "description": "JavaScript call frame. Array of call frames form the call stack." | 2964 "description": "JavaScript call frame. Array of call frames form the call stack." |
2964 }, | 2965 }, |
2965 { | 2966 { |
2966 "id": "Scope", | 2967 "id": "Scope", |
2967 "type": "object", | 2968 "type": "object", |
2968 "properties": [ | 2969 "properties": [ |
2969 { "name": "type", "type": "string", "enum": ["global", "loca l", "with", "closure", "catch"], "description": "Scope type." }, | 2970 { "name": "type", "type": "string", "enum": ["global", "loca l", "with", "closure", "catch"], "description": "Scope type." }, |
2970 { "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." } | 2971 { "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." } |
2971 ], | 2972 ], |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3241 "hidden": true, | 3242 "hidden": true, |
3242 "description": "Returns call stack including variables changed s ince VM was paused. VM must be paused." | 3243 "description": "Returns call stack including variables changed s ince VM was paused. VM must be paused." |
3243 }, | 3244 }, |
3244 { | 3245 { |
3245 "name": "skipStackFrames", | 3246 "name": "skipStackFrames", |
3246 "parameters": [ | 3247 "parameters": [ |
3247 { "name": "script", "optional": true, "type": "string", "des cription": "Regular expression defining the scripts to ignore while stepping." } | 3248 { "name": "script", "optional": true, "type": "string", "des cription": "Regular expression defining the scripts to ignore while stepping." } |
3248 ], | 3249 ], |
3249 "hidden": true, | 3250 "hidden": true, |
3250 "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." | 3251 "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." |
3252 }, | |
3253 { | |
3254 "name": "enableAsyncCallStacks", | |
yurys
2013/11/20 01:23:43
setAsyncCallStackDepth?
aandrey
2013/11/20 15:20:02
Done.
| |
3255 "parameters": [ | |
3256 { "name": "maxDepth", "type": "integer", "description": "Max imum depth of async call stacks. Setting <code>0</code> will effectively disable async call stacks (default)." } | |
3257 ], | |
3258 "hidden": true, | |
3259 "description": "Enables or disables async call stacks tracking." | |
3251 } | 3260 } |
3252 ], | 3261 ], |
3253 "events": [ | 3262 "events": [ |
3254 { | 3263 { |
3255 "name": "globalObjectCleared", | 3264 "name": "globalObjectCleared", |
3256 "description": "Called when global has been cleared and debugger client should reset its state. Happens upon navigation or reload." | 3265 "description": "Called when global has been cleared and debugger client should reset its state. Happens upon navigation or reload." |
3257 }, | 3266 }, |
3258 { | 3267 { |
3259 "name": "scriptParsed", | 3268 "name": "scriptParsed", |
3260 "parameters": [ | 3269 "parameters": [ |
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4037 "parameters": [ | 4046 "parameters": [ |
4038 { "name": "value", "type": "array", "items": { "type": "obje ct" } } | 4047 { "name": "value", "type": "array", "items": { "type": "obje ct" } } |
4039 ] | 4048 ] |
4040 }, | 4049 }, |
4041 { | 4050 { |
4042 "name": "tracingComplete" | 4051 "name": "tracingComplete" |
4043 } | 4052 } |
4044 ] | 4053 ] |
4045 }] | 4054 }] |
4046 } | 4055 } |
OLD | NEW |