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

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

Issue 2710953004: [inspector] added restrictToFunction flag for getPossibleBreakpoints (Closed)
Patch Set: addressed comments Created 3 years, 10 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 | « src/debug/debug-interface.h ('k') | src/inspector/v8-debugger-agent-impl.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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 "name": "removeBreakpoint", 585 "name": "removeBreakpoint",
586 "parameters": [ 586 "parameters": [
587 { "name": "breakpointId", "$ref": "BreakpointId" } 587 { "name": "breakpointId", "$ref": "BreakpointId" }
588 ], 588 ],
589 "description": "Removes JavaScript breakpoint." 589 "description": "Removes JavaScript breakpoint."
590 }, 590 },
591 { 591 {
592 "name": "getPossibleBreakpoints", 592 "name": "getPossibleBreakpoints",
593 "parameters": [ 593 "parameters": [
594 { "name": "start", "$ref": "Location", "description": "Start of range to search possible breakpoint locations in." }, 594 { "name": "start", "$ref": "Location", "description": "Start of range to search possible breakpoint locations in." },
595 { "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." } 595 { "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." },
596 { "name": "restrictToFunction", "type": "boolean", "optional ": true, "description": "Only consider locations which are in the same (non-nest ed) function as start." }
596 ], 597 ],
597 "returns": [ 598 "returns": [
598 { "name": "locations", "type": "array", "items": { "$ref": " Location" }, "description": "List of the possible breakpoint locations." } 599 { "name": "locations", "type": "array", "items": { "$ref": " Location" }, "description": "List of the possible breakpoint locations." }
599 ], 600 ],
600 "description": "Returns possible locations for breakpoint. scrip tId in start and end range locations should be the same.", 601 "description": "Returns possible locations for breakpoint. scrip tId in start and end range locations should be the same.",
601 "experimental": true 602 "experimental": true
602 }, 603 },
603 { 604 {
604 "name": "continueToLocation", 605 "name": "continueToLocation",
605 "parameters": [ 606 "parameters": [
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 { 1055 {
1055 "name": "heapStatsUpdate", 1056 "name": "heapStatsUpdate",
1056 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 1057 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
1057 "parameters": [ 1058 "parameters": [
1058 { "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."} 1059 { "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."}
1059 ] 1060 ]
1060 } 1061 }
1061 ] 1062 ]
1062 }] 1063 }]
1063 } 1064 }
OLDNEW
« no previous file with comments | « src/debug/debug-interface.h ('k') | src/inspector/v8-debugger-agent-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698