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

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

Issue 2655253004: [inspector] introduced stepIntoAsync for chained callbacks (Closed)
Patch Set: addressed Yang's comment 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
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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 }, 551 },
552 { 552 {
553 "name": "stepOver", 553 "name": "stepOver",
554 "description": "Steps over the statement." 554 "description": "Steps over the statement."
555 }, 555 },
556 { 556 {
557 "name": "stepInto", 557 "name": "stepInto",
558 "description": "Steps into the function call." 558 "description": "Steps into the function call."
559 }, 559 },
560 { 560 {
561 "name": "stepIntoAsync",
562 "description": "Steps into the scheduled callback."
563 },
564 {
561 "name": "stepOut", 565 "name": "stepOut",
562 "description": "Steps out of the function call." 566 "description": "Steps out of the function call."
563 }, 567 },
564 { 568 {
565 "name": "pause", 569 "name": "pause",
566 "description": "Stops on the next JavaScript statement." 570 "description": "Stops on the next JavaScript statement."
567 }, 571 },
568 { 572 {
569 "name": "resume", 573 "name": "resume",
570 "description": "Resumes JavaScript execution." 574 "description": "Resumes JavaScript execution."
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 "parameters": [ 723 "parameters": [
720 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." }, 724 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Breakpoint unique identifier." },
721 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." } 725 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." }
722 ], 726 ],
723 "description": "Fired when breakpoint is resolved to an actual s cript and location." 727 "description": "Fired when breakpoint is resolved to an actual s cript and location."
724 }, 728 },
725 { 729 {
726 "name": "paused", 730 "name": "paused",
727 "parameters": [ 731 "parameters": [
728 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "Call stack the virtual machine stopped on." }, 732 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "Call stack the virtual machine stopped on." },
729 { "name": "reason", "type": "string", "enum": [ "XHR", "DOM" , "EventListener", "exception", "assert", "debugCommand", "promiseRejection", "O OM", "other" ], "description": "Pause reason." }, 733 { "name": "reason", "type": "string", "enum": [ "XHR", "DOM" , "EventListener", "exception", "assert", "debugCommand", "promiseRejection", "O OM", "other", "callbackScheduled" ], "description": "Pause reason." },
730 { "name": "data", "type": "object", "optional": true, "descr iption": "Object containing break-specific auxiliary properties." }, 734 { "name": "data", "type": "object", "optional": true, "descr iption": "Object containing break-specific auxiliary properties." },
731 { "name": "hitBreakpoints", "type": "array", "optional": tru e, "items": { "type": "string" }, "description": "Hit breakpoints IDs" }, 735 { "name": "hitBreakpoints", "type": "array", "optional": tru e, "items": { "type": "string" }, "description": "Hit breakpoints IDs" },
732 { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", " optional": true, "description": "Async stack trace, if any." } 736 { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", " optional": true, "description": "Async stack trace, if any." }
733 ], 737 ],
734 "description": "Fired when the virtual machine stopped on breakp oint or exception or any other stop criteria." 738 "description": "Fired when the virtual machine stopped on breakp oint or exception or any other stop criteria."
735 }, 739 },
736 { 740 {
737 "name": "resumed", 741 "name": "resumed",
738 "description": "Fired when the virtual machine resumed execution ." 742 "description": "Fired when the virtual machine resumed execution ."
739 } 743 }
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 { 997 {
994 "name": "heapStatsUpdate", 998 "name": "heapStatsUpdate",
995 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 999 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
996 "parameters": [ 1000 "parameters": [
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."} 1001 { "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."}
998 ] 1002 ]
999 } 1003 }
1000 ] 1004 ]
1001 }] 1005 }]
1002 } 1006 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698