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

Side by Side Diff: src/inspector/js_protocol.json

Issue 2648873002: [inspector] added creation frame for async call chains for promises (Closed)
Patch Set: add test for setTimeout Created 3 years, 11 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
« no previous file with comments | « no previous file | src/inspector/v8-debugger.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "2" }, 2 "version": { "major": "1", "minor": "2" },
3 "domains": [ 3 "domains": [
4 { 4 {
5 "domain": "Schema", 5 "domain": "Schema",
6 "description": "Provides information about the protocol schema.", 6 "description": "Provides information about the protocol schema.",
7 "types": [ 7 "types": [
8 { 8 {
9 "id": "Domain", 9 "id": "Domain",
10 "type": "object", 10 "type": "object",
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 { "name": "columnNumber", "type": "integer", "description": "JavaScript script column number (0-based)." } 194 { "name": "columnNumber", "type": "integer", "description": "JavaScript script column number (0-based)." }
195 ] 195 ]
196 }, 196 },
197 { 197 {
198 "id": "StackTrace", 198 "id": "StackTrace",
199 "type": "object", 199 "type": "object",
200 "description": "Call frames for assertions or error messages.", 200 "description": "Call frames for assertions or error messages.",
201 "properties": [ 201 "properties": [
202 { "name": "description", "type": "string", "optional": true, "description": "String label of this stack trace. For async traces this may be a name of the function that initiated the async call." }, 202 { "name": "description", "type": "string", "optional": true, "description": "String label of this stack trace. For async traces this may be a name of the function that initiated the async call." },
203 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "JavaScript function name." }, 203 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "JavaScript function name." },
204 { "name": "parent", "$ref": "StackTrace", "optional": true, "description": "Asynchronous JavaScript stack trace that preceded this stack, if available." } 204 { "name": "parent", "$ref": "StackTrace", "optional": true, "description": "Asynchronous JavaScript stack trace that preceded this stack, if available." },
205 { "name": "promiseCreationFrame", "$ref": "CallFrame", "opti onal": true, "experimental": true, "description": "Creation frame of the Promise which produced the next synchronous trace when resolved, if available." }
205 ] 206 ]
206 } 207 }
207 ], 208 ],
208 "commands": [ 209 "commands": [
209 { 210 {
210 "name": "evaluate", 211 "name": "evaluate",
211 "parameters": [ 212 "parameters": [
212 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." }, 213 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." },
213 { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple object s." }, 214 { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple object s." },
214 { "name": "includeCommandLineAPI", "type": "boolean", "optio nal": true, "description": "Determines whether Command Line API should be availa ble during the evaluation." }, 215 { "name": "includeCommandLineAPI", "type": "boolean", "optio nal": true, "description": "Determines whether Command Line API should be availa ble during the evaluation." },
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 { 993 {
993 "name": "heapStatsUpdate", 994 "name": "heapStatsUpdate",
994 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 995 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
995 "parameters": [ 996 "parameters": [
996 { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fra gment. The first integer is the fragment index, the second integer is a total co unt of objects for the fragment, the third integer is a total size of the object s for the fragment."} 997 { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fra gment. The first integer is the fragment index, the second integer is a total co unt of objects for the fragment, the third integer is a total size of the object s for the fragment."}
997 ] 998 ]
998 } 999 }
999 ] 1000 ]
1000 }] 1001 }]
1001 } 1002 }
OLDNEW
« no previous file with comments | « no previous file | src/inspector/v8-debugger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698