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

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

Issue 2465553003: [inspector] added Debugger.getPossibleBreakpoints method (Closed)
Patch Set: addressed comments Created 4 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
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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 "description": "Sets JavaScript breakpoint at a given location." 531 "description": "Sets JavaScript breakpoint at a given location."
532 }, 532 },
533 { 533 {
534 "name": "removeBreakpoint", 534 "name": "removeBreakpoint",
535 "parameters": [ 535 "parameters": [
536 { "name": "breakpointId", "$ref": "BreakpointId" } 536 { "name": "breakpointId", "$ref": "BreakpointId" }
537 ], 537 ],
538 "description": "Removes JavaScript breakpoint." 538 "description": "Removes JavaScript breakpoint."
539 }, 539 },
540 { 540 {
541 "name": "getPossibleBreakpoints",
542 "parameters": [
543 { "name": "start", "$ref": "Location", "description": "Start of range to search possible breakpoint locations in." },
544 { "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." }
545 ],
546 "returns": [
547 { "name": "locations", "type": "array", "items": { "$ref": " Location" }, "description": "List of the possible breakpoint locations." }
548 ],
549 "description": "Returns possible locations for breakpoint. scrip tId in start and end range locations should be the same.",
550 "experimental": true
551 },
552 {
541 "name": "continueToLocation", 553 "name": "continueToLocation",
542 "parameters": [ 554 "parameters": [
543 { "name": "location", "$ref": "Location", "description": "Lo cation to continue to." } 555 { "name": "location", "$ref": "Location", "description": "Lo cation to continue to." }
544 ], 556 ],
545 "description": "Continues execution until specific location is r eached." 557 "description": "Continues execution until specific location is r eached."
546 }, 558 },
547 { 559 {
548 "name": "stepOver", 560 "name": "stepOver",
549 "description": "Steps over the statement." 561 "description": "Steps over the statement."
550 }, 562 },
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 { 1000 {
989 "name": "heapStatsUpdate", 1001 "name": "heapStatsUpdate",
990 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 1002 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
991 "parameters": [ 1003 "parameters": [
992 { "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."} 1004 { "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."}
993 ] 1005 ]
994 } 1006 }
995 ] 1007 ]
996 }] 1008 }]
997 } 1009 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698