OLD | NEW |
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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 }, | 464 }, |
465 { | 465 { |
466 "id": "SearchMatch", | 466 "id": "SearchMatch", |
467 "type": "object", | 467 "type": "object", |
468 "description": "Search match for resource.", | 468 "description": "Search match for resource.", |
469 "properties": [ | 469 "properties": [ |
470 { "name": "lineNumber", "type": "number", "description": "Li
ne number in resource content." }, | 470 { "name": "lineNumber", "type": "number", "description": "Li
ne number in resource content." }, |
471 { "name": "lineContent", "type": "string", "description": "L
ine with match content." } | 471 { "name": "lineContent", "type": "string", "description": "L
ine with match content." } |
472 ], | 472 ], |
473 "experimental": true | 473 "experimental": true |
| 474 }, |
| 475 { |
| 476 "id": "BreakLocation", |
| 477 "type": "object", |
| 478 "properties": [ |
| 479 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti
on": "Script identifier as reported in the <code>Debugger.scriptParsed</code>."
}, |
| 480 { "name": "lineNumber", "type": "integer", "description": "L
ine number in the script (0-based)." }, |
| 481 { "name": "columnNumber", "type": "integer", "optional": tru
e, "description": "Column number in the script (0-based)." }, |
| 482 { "name": "type", "type": "string", "enum": [ "debuggerState
ment", "call", "return" ], "optional": true } |
| 483 ], |
| 484 "experimental": true |
474 } | 485 } |
475 ], | 486 ], |
476 "commands": [ | 487 "commands": [ |
477 { | 488 { |
478 "name": "enable", | 489 "name": "enable", |
479 "description": "Enables debugger for the given page. Clients sho
uld not assume that the debugging has been enabled until the result for this com
mand is received." | 490 "description": "Enables debugger for the given page. Clients sho
uld not assume that the debugging has been enabled until the result for this com
mand is received." |
480 }, | 491 }, |
481 { | 492 { |
482 "name": "disable", | 493 "name": "disable", |
483 "description": "Disables debugger for given page." | 494 "description": "Disables debugger for given page." |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 "description": "Removes JavaScript breakpoint." | 542 "description": "Removes JavaScript breakpoint." |
532 }, | 543 }, |
533 { | 544 { |
534 "name": "getPossibleBreakpoints", | 545 "name": "getPossibleBreakpoints", |
535 "parameters": [ | 546 "parameters": [ |
536 { "name": "start", "$ref": "Location", "description": "Start
of range to search possible breakpoint locations in." }, | 547 { "name": "start", "$ref": "Location", "description": "Start
of range to search possible breakpoint locations in." }, |
537 { "name": "end", "$ref": "Location", "optional": true, "desc
ription": "End of range to search possible breakpoint locations in (excluding).
When not specifed, end of scripts is used as end of range." }, | 548 { "name": "end", "$ref": "Location", "optional": true, "desc
ription": "End of range to search possible breakpoint locations in (excluding).
When not specifed, end of scripts is used as end of range." }, |
538 { "name": "restrictToFunction", "type": "boolean", "optional
": true, "description": "Only consider locations which are in the same (non-nest
ed) function as start." } | 549 { "name": "restrictToFunction", "type": "boolean", "optional
": true, "description": "Only consider locations which are in the same (non-nest
ed) function as start." } |
539 ], | 550 ], |
540 "returns": [ | 551 "returns": [ |
541 { "name": "locations", "type": "array", "items": { "$ref": "
Location" }, "description": "List of the possible breakpoint locations." } | 552 { "name": "locations", "type": "array", "items": { "$ref": "
BreakLocation" }, "description": "List of the possible breakpoint locations." } |
542 ], | 553 ], |
543 "description": "Returns possible locations for breakpoint. scrip
tId in start and end range locations should be the same.", | 554 "description": "Returns possible locations for breakpoint. scrip
tId in start and end range locations should be the same.", |
544 "experimental": true | 555 "experimental": true |
545 }, | 556 }, |
546 { | 557 { |
547 "name": "continueToLocation", | 558 "name": "continueToLocation", |
548 "parameters": [ | 559 "parameters": [ |
549 { "name": "location", "$ref": "Location", "description": "Lo
cation to continue to." } | 560 { "name": "location", "$ref": "Location", "description": "Lo
cation to continue to." } |
550 ], | 561 ], |
551 "description": "Continues execution until specific location is r
eached." | 562 "description": "Continues execution until specific location is r
eached." |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 { | 1071 { |
1061 "name": "heapStatsUpdate", | 1072 "name": "heapStatsUpdate", |
1062 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", | 1073 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", |
1063 "parameters": [ | 1074 "parameters": [ |
1064 { "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."} | 1075 { "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."} |
1065 ] | 1076 ] |
1066 } | 1077 } |
1067 ] | 1078 ] |
1068 }] | 1079 }] |
1069 } | 1080 } |
OLD | NEW |