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

Side by Side Diff: Source/devtools/protocol.json

Issue 98953004: DevTools: Introduce Debugger.StackTrace structure in protocol.json (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nits Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/Script.js ('k') | no next file » | 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": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 "parameters": [ 241 "parameters": [
242 { "name": "url", "type": "string", "description": "URL to na vigate the page to." } 242 { "name": "url", "type": "string", "description": "URL to na vigate the page to." }
243 ], 243 ],
244 "description": "Navigates current page to the given URL." 244 "description": "Navigates current page to the given URL."
245 }, 245 },
246 { 246 {
247 "name": "getNavigationHistory", 247 "name": "getNavigationHistory",
248 "parameters": [], 248 "parameters": [],
249 "returns": [ 249 "returns": [
250 { "name": "currentIndex", "type": "integer", "description": "Ind ex of the current navigation history entry." }, 250 { "name": "currentIndex", "type": "integer", "description": "Ind ex of the current navigation history entry." },
251 { "name": "entries", "type": "array", "items": { "$ref": "Naviga tionEntry"}, "description": "Array of navigation history entries." } 251 { "name": "entries", "type": "array", "items": { "$ref": "Naviga tionEntry" }, "description": "Array of navigation history entries." }
252 ], 252 ],
253 "description": "Returns navigation history for the current page.", 253 "description": "Returns navigation history for the current page.",
254 "hidden": true 254 "hidden": true
255 }, 255 },
256 { 256 {
257 "name": "navigateToHistoryEntry", 257 "name": "navigateToHistoryEntry",
258 "parameters": [ 258 "parameters": [
259 { "name": "entryId", "type": "integer", "description": "Unique id of the entry to navigate to." } 259 { "name": "entryId", "type": "integer", "description": "Unique id of the entry to navigate to." }
260 ], 260 ],
261 "description": "Navigates current page to the given history entry. ", 261 "description": "Navigates current page to the given history entry. ",
262 "hidden": true 262 "hidden": true
263 }, 263 },
264 { 264 {
265 "name": "getCookies", 265 "name": "getCookies",
266 "returns": [ 266 "returns": [
267 { "name": "cookies", "type": "array", "items": { "$ref": "Co okie"}, "description": "Array of cookie objects." }, 267 { "name": "cookies", "type": "array", "items": { "$ref": "Co okie" }, "description": "Array of cookie objects." },
268 { "name": "cookiesString", "type": "string", "description": "document.cookie string representation of the cookies." } 268 { "name": "cookiesString", "type": "string", "description": "document.cookie string representation of the cookies." }
269 ], 269 ],
270 "description": "Returns all browser cookies. Depending on the ba ckend support, will either return detailed cookie information in the <code>cooki e</code> field or string cookie representation using <code>cookieString</code>." , 270 "description": "Returns all browser cookies. Depending on the ba ckend support, will either return detailed cookie information in the <code>cooki e</code> field or string cookie representation using <code>cookieString</code>." ,
271 "hidden": true 271 "hidden": true
272 }, 272 },
273 { 273 {
274 "name": "deleteCookie", 274 "name": "deleteCookie",
275 "parameters": [ 275 "parameters": [
276 { "name": "cookieName", "type": "string", "description": "Na me of the cookie to remove." }, 276 { "name": "cookieName", "type": "string", "description": "Na me of the cookie to remove." },
277 { "name": "url", "type": "string", "description": "URL to ma tch cooke domain and path." } 277 { "name": "url", "type": "string", "description": "URL to ma tch cooke domain and path." }
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 "description": "Calls function with given declaration on the giv en object. Object group of the result is inherited from the target object." 743 "description": "Calls function with given declaration on the giv en object. Object group of the result is inherited from the target object."
744 }, 744 },
745 { 745 {
746 "name": "getProperties", 746 "name": "getProperties",
747 "parameters": [ 747 "parameters": [
748 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to return properties for." }, 748 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to return properties for." },
749 { "name": "ownProperties", "optional": true, "type": "boolea n", "description": "If true, returns properties belonging only to the element it self, not to its prototype chain." }, 749 { "name": "ownProperties", "optional": true, "type": "boolea n", "description": "If true, returns properties belonging only to the element it self, not to its prototype chain." },
750 { "name": "accessorPropertiesOnly", "optional": true, "type" : "boolean", "description": "If true, returns accessor properties (with getter/s etter) only; internal properties are not returned either.", "hidden": true } 750 { "name": "accessorPropertiesOnly", "optional": true, "type" : "boolean", "description": "If true, returns accessor properties (with getter/s etter) only; internal properties are not returned either.", "hidden": true }
751 ], 751 ],
752 "returns": [ 752 "returns": [
753 { "name": "result", "type": "array", "items": { "$ref": "Pro pertyDescriptor"}, "description": "Object properties." }, 753 { "name": "result", "type": "array", "items": { "$ref": "Pro pertyDescriptor" }, "description": "Object properties." },
754 { "name": "internalProperties", "optional": true, "type": "a rray", "items": { "$ref": "InternalPropertyDescriptor"}, "description": "Interna l object properties (only of the element itself).", "hidden": true } 754 { "name": "internalProperties", "optional": true, "type": "a rray", "items": { "$ref": "InternalPropertyDescriptor" }, "description": "Intern al object properties (only of the element itself).", "hidden": true }
755 ], 755 ],
756 "description": "Returns properties of a given object. Object gro up of the result is inherited from the target object." 756 "description": "Returns properties of a given object. Object gro up of the result is inherited from the target object."
757 }, 757 },
758 { 758 {
759 "name": "releaseObject", 759 "name": "releaseObject",
760 "parameters": [ 760 "parameters": [
761 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to release." } 761 { "name": "objectId", "$ref": "RemoteObjectId", "description ": "Identifier of the object to release." }
762 ], 762 ],
763 "description": "Releases remote object with given id." 763 "description": "Releases remote object with given id."
764 }, 764 },
(...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after
1969 ], 1969 ],
1970 "description": "Removes attribute with given name from an elemen t with given id." 1970 "description": "Removes attribute with given name from an elemen t with given id."
1971 }, 1971 },
1972 { 1972 {
1973 "name": "getEventListenersForNode", 1973 "name": "getEventListenersForNode",
1974 "parameters": [ 1974 "parameters": [
1975 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get listeners for." }, 1975 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get listeners for." },
1976 { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name for handler value. Handler value is not ret urned without this parameter specified." } 1976 { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name for handler value. Handler value is not ret urned without this parameter specified." }
1977 ], 1977 ],
1978 "returns": [ 1978 "returns": [
1979 { "name": "listeners", "type": "array", "items": { "$ref": " EventListener"}, "description": "Array of relevant listeners." } 1979 { "name": "listeners", "type": "array", "items": { "$ref": " EventListener" }, "description": "Array of relevant listeners." }
1980 ], 1980 ],
1981 "description": "Returns event listeners relevant to the node.", 1981 "description": "Returns event listeners relevant to the node.",
1982 "hidden": true 1982 "hidden": true
1983 }, 1983 },
1984 { 1984 {
1985 "name": "getOuterHTML", 1985 "name": "getOuterHTML",
1986 "parameters": [ 1986 "parameters": [
1987 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get markup for." } 1987 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to get markup for." }
1988 ], 1988 ],
1989 "returns": [ 1989 "returns": [
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
2237 "parameters": [ 2237 "parameters": [
2238 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to inspect." } 2238 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node to inspect." }
2239 ], 2239 ],
2240 "description": "Fired when the node should be inspected. This ha ppens after call to <code>setInspectModeEnabled</code>.", 2240 "description": "Fired when the node should be inspected. This ha ppens after call to <code>setInspectModeEnabled</code>.",
2241 "hidden" : true 2241 "hidden" : true
2242 }, 2242 },
2243 { 2243 {
2244 "name": "setChildNodes", 2244 "name": "setChildNodes",
2245 "parameters": [ 2245 "parameters": [
2246 { "name": "parentId", "$ref": "NodeId", "description": "Pare nt node id to populate with children." }, 2246 { "name": "parentId", "$ref": "NodeId", "description": "Pare nt node id to populate with children." },
2247 { "name": "nodes", "type": "array", "items": { "$ref": "Node "}, "description": "Child nodes array." } 2247 { "name": "nodes", "type": "array", "items": { "$ref": "Node " }, "description": "Child nodes array." }
2248 ], 2248 ],
2249 "description": "Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node i ds." 2249 "description": "Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node i ds."
2250 }, 2250 },
2251 { 2251 {
2252 "name": "attributeModified", 2252 "name": "attributeModified",
2253 "parameters": [ 2253 "parameters": [
2254 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node that has changed." }, 2254 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node that has changed." },
2255 { "name": "name", "type": "string", "description": "Attribut e name." }, 2255 { "name": "name", "type": "string", "description": "Attribut e name." },
2256 { "name": "value", "type": "string", "description": "Attribu te value." } 2256 { "name": "value", "type": "string", "description": "Attribu te value." }
2257 ], 2257 ],
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
2655 ], 2655 ],
2656 "description": "Returns the computed style for a DOM node identi fied by <code>nodeId</code>." 2656 "description": "Returns the computed style for a DOM node identi fied by <code>nodeId</code>."
2657 }, 2657 },
2658 { 2658 {
2659 "name": "getPlatformFontsForNode", 2659 "name": "getPlatformFontsForNode",
2660 "parameters": [ 2660 "parameters": [
2661 { "name": "nodeId", "$ref": "DOM.NodeId" } 2661 { "name": "nodeId", "$ref": "DOM.NodeId" }
2662 ], 2662 ],
2663 "returns": [ 2663 "returns": [
2664 { "name": "cssFamilyName", "type": "string", "description": "Font family name which is determined by computed style." }, 2664 { "name": "cssFamilyName", "type": "string", "description": "Font family name which is determined by computed style." },
2665 { "name": "fonts", "type": "array", "items": { "$ref": "Plat formFontUsage"}, "description": "Usage statistics for every employed platform fo nt." } 2665 { "name": "fonts", "type": "array", "items": { "$ref": "Plat formFontUsage" }, "description": "Usage statistics for every employed platform f ont." }
2666 ], 2666 ],
2667 "description": "Requests information about platform fonts which we used to render child TextNodes in the given node.", 2667 "description": "Requests information about platform fonts which we used to render child TextNodes in the given node.",
2668 "hidden": true 2668 "hidden": true
2669 }, 2669 },
2670 { 2670 {
2671 "name": "getAllStyleSheets", 2671 "name": "getAllStyleSheets",
2672 "returns": [ 2672 "returns": [
2673 { "name": "headers", "type": "array", "items": { "$ref": "CS SStyleSheetHeader" }, "description": "Descriptor entries for all available style sheets." } 2673 { "name": "headers", "type": "array", "items": { "$ref": "CS SStyleSheetHeader" }, "description": "Descriptor entries for all available style sheets." }
2674 ], 2674 ],
2675 "description": "Returns metainfo entries for all known styleshee ts." 2675 "description": "Returns metainfo entries for all known styleshee ts."
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
2977 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier. This identifier is only valid while the virtual machi ne is paused." }, 2977 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier. This identifier is only valid while the virtual machi ne is paused." },
2978 { "name": "functionName", "type": "string", "description": " Name of the JavaScript function called on this call frame." }, 2978 { "name": "functionName", "type": "string", "description": " Name of the JavaScript function called on this call frame." },
2979 { "name": "location", "$ref": "Location", "description": "Lo cation in the source code." }, 2979 { "name": "location", "$ref": "Location", "description": "Lo cation in the source code." },
2980 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." }, 2980 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." },
2981 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." }, 2981 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." },
2982 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "hidden": true, "description": "The value being returned, if the function is at return point." } 2982 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "hidden": true, "description": "The value being returned, if the function is at return point." }
2983 ], 2983 ],
2984 "description": "JavaScript call frame. Array of call frames form the call stack." 2984 "description": "JavaScript call frame. Array of call frames form the call stack."
2985 }, 2985 },
2986 { 2986 {
2987 "id": "StackTrace",
yurys 2013/12/03 13:49:42 Won't you need to pass additional details with asy
2988 "type": "object",
2989 "properties": [
2990 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "Call frames of the stack trace." },
2991 { "name": "asyncStackTrace", "$ref": "StackTrace", "optional ": true, "description": "Async stack trace, if any." }
2992 ],
2993 "description": "JavaScript call stack, including async stack tra ces.",
2994 "hidden": true
2995 },
2996 {
2987 "id": "Scope", 2997 "id": "Scope",
2988 "type": "object", 2998 "type": "object",
2989 "properties": [ 2999 "properties": [
2990 { "name": "type", "type": "string", "enum": ["global", "loca l", "with", "closure", "catch"], "description": "Scope type." }, 3000 { "name": "type", "type": "string", "enum": ["global", "loca l", "with", "closure", "catch"], "description": "Scope type." },
2991 { "name": "object", "$ref": "Runtime.RemoteObject", "descrip tion": "Object representing the scope. For <code>global</code> and <code>with</c ode> scopes it represents the actual object; for the rest of the scopes, it is a rtificial transient object enumerating scope variables as its properties." } 3001 { "name": "object", "$ref": "Runtime.RemoteObject", "descrip tion": "Object representing the scope. For <code>global</code> and <code>with</c ode> scopes it represents the actual object; for the rest of the scopes, it is a rtificial transient object enumerating scope variables as its properties." }
2992 ], 3002 ],
2993 "description": "Scope description." 3003 "description": "Scope description."
2994 }, 3004 },
2995 { 3005 {
2996 "id": "SetScriptSourceError", 3006 "id": "SetScriptSourceError",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
3038 "parameters": [ 3048 "parameters": [
3039 { "name": "lineNumber", "type": "integer", "description": "L ine number to set breakpoint at." }, 3049 { "name": "lineNumber", "type": "integer", "description": "L ine number to set breakpoint at." },
3040 { "name": "url", "type": "string", "optional": true, "descri ption": "URL of the resources to set breakpoint on." }, 3050 { "name": "url", "type": "string", "optional": true, "descri ption": "URL of the resources to set breakpoint on." },
3041 { "name": "urlRegex", "type": "string", "optional": true, "d escription": "Regex pattern for the URLs of the resources to set breakpoints on. Either <code>url</code> or <code>urlRegex</code> must be specified." }, 3051 { "name": "urlRegex", "type": "string", "optional": true, "d escription": "Regex pattern for the URLs of the resources to set breakpoints on. Either <code>url</code> or <code>urlRegex</code> must be specified." },
3042 { "name": "columnNumber", "type": "integer", "optional": tru e, "description": "Offset in the line to set breakpoint at." }, 3052 { "name": "columnNumber", "type": "integer", "optional": tru e, "description": "Offset in the line to set breakpoint at." },
3043 { "name": "condition", "type": "string", "optional": true, " description": "Expression to use as a breakpoint condition. When specified, debu gger will only stop on the breakpoint if this expression evaluates to true." }, 3053 { "name": "condition", "type": "string", "optional": true, " description": "Expression to use as a breakpoint condition. When specified, debu gger will only stop on the breakpoint if this expression evaluates to true." },
3044 { "name": "isAntibreakpoint", "type": "boolean", "optional": true, "hidden": true, "description": "Creates pseudo-breakpoint that prevents d ebugger from pausing on exception at this location." } 3054 { "name": "isAntibreakpoint", "type": "boolean", "optional": true, "hidden": true, "description": "Creates pseudo-breakpoint that prevents d ebugger from pausing on exception at this location." }
3045 ], 3055 ],
3046 "returns": [ 3056 "returns": [
3047 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Id of the created breakpoint for further reference." }, 3057 { "name": "breakpointId", "$ref": "BreakpointId", "descripti on": "Id of the created breakpoint for further reference." },
3048 { "name": "locations", "type": "array", "items": { "$ref": " Location"}, "description": "List of the locations this breakpoint resolved into upon addition." } 3058 { "name": "locations", "type": "array", "items": { "$ref": " Location" }, "description": "List of the locations this breakpoint resolved into upon addition." }
3049 ], 3059 ],
3050 "description": "Sets JavaScript breakpoint at given location spe cified either by URL or URL regex. Once this command is issued, all existing par sed scripts will have breakpoints resolved and returned in <code>locations</code > property. Further matching script parsing will result in subsequent <code>brea kpointResolved</code> events issued. This logical breakpoint will survive page r eloads." 3060 "description": "Sets JavaScript breakpoint at given location spe cified either by URL or URL regex. Once this command is issued, all existing par sed scripts will have breakpoints resolved and returned in <code>locations</code > property. Further matching script parsing will result in subsequent <code>brea kpointResolved</code> events issued. This logical breakpoint will survive page r eloads."
3051 }, 3061 },
3052 { 3062 {
3053 "name": "setBreakpoint", 3063 "name": "setBreakpoint",
3054 "parameters": [ 3064 "parameters": [
3055 { "name": "location", "$ref": "Location", "description": "Lo cation to set breakpoint in." }, 3065 { "name": "location", "$ref": "Location", "description": "Lo cation to set breakpoint in." },
3056 { "name": "condition", "type": "string", "optional": true, " description": "Expression to use as a breakpoint condition. When specified, debu gger will only stop on the breakpoint if this expression evaluates to true." } 3066 { "name": "condition", "type": "string", "optional": true, " description": "Expression to use as a breakpoint condition. When specified, debu gger will only stop on the breakpoint if this expression evaluates to true." }
3057 ], 3067 ],
3058 "returns": [ 3068 "returns": [
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
3123 "description": "Always returns true." 3133 "description": "Always returns true."
3124 }, 3134 },
3125 { 3135 {
3126 "name": "setScriptSource", 3136 "name": "setScriptSource",
3127 "parameters": [ 3137 "parameters": [
3128 { "name": "scriptId", "$ref": "ScriptId", "description": "Id of the script to edit." }, 3138 { "name": "scriptId", "$ref": "ScriptId", "description": "Id of the script to edit." },
3129 { "name": "scriptSource", "type": "string", "description": " New content of the script." }, 3139 { "name": "scriptSource", "type": "string", "description": " New content of the script." },
3130 { "name": "preview", "type": "boolean", "optional": true, "d escription": " If true the change will not actually be applied. Preview mode may be used to get result description without actually modifying the code.", "hidde n": true } 3140 { "name": "preview", "type": "boolean", "optional": true, "d escription": " If true the change will not actually be applied. Preview mode may be used to get result description without actually modifying the code.", "hidde n": true }
3131 ], 3141 ],
3132 "returns": [ 3142 "returns": [
3133 { "name": "callFrames", "type": "array", "optional": true, " items": { "$ref": "CallFrame"}, "description": "New stack trace in case editing has happened while VM was stopped." }, 3143 { "name": "callFrames", "type": "array", "optional": true, " items": { "$ref": "CallFrame" }, "description": "New stack trace in case editing has happened while VM was stopped." },
3134 { "name": "result", "type": "object", "optional": true, "des cription": "VM-specific description of the changes applied.", "hidden": true } 3144 { "name": "result", "type": "object", "optional": true, "des cription": "VM-specific description of the changes applied.", "hidden": true },
3145 { "name": "asyncStackTrace", "$ref": "StackTrace", "optional ": true, "description": "Async stack trace, if any.", "hidden": true }
3135 ], 3146 ],
3136 "error": { 3147 "error": {
3137 "$ref": "SetScriptSourceError" 3148 "$ref": "SetScriptSourceError"
3138 }, 3149 },
3139 "description": "Edits JavaScript source live." 3150 "description": "Edits JavaScript source live."
3140 }, 3151 },
3141 { 3152 {
3142 "name": "restartFrame", 3153 "name": "restartFrame",
3143 "parameters": [ 3154 "parameters": [
3144 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." } 3155 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." }
3145 ], 3156 ],
3146 "returns": [ 3157 "returns": [
3147 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame"}, "description": "New stack trace." }, 3158 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "New stack trace." },
3148 { "name": "result", "type": "object", "description": "VM-spe cific description.", "hidden": true } 3159 { "name": "result", "type": "object", "description": "VM-spe cific description." },
3160 { "name": "asyncStackTrace", "$ref": "StackTrace", "optional ": true, "description": "Async stack trace, if any." }
yurys 2013/12/03 13:49:42 hidden:true
aandrey 2013/12/03 15:09:00 this command is already hidden
3149 ], 3161 ],
3150 "hidden": true, 3162 "hidden": true,
3151 "description": "Restarts particular call frame from the beginnin g." 3163 "description": "Restarts particular call frame from the beginnin g."
3152 }, 3164 },
3153 { 3165 {
3154 "name": "getScriptSource", 3166 "name": "getScriptSource",
3155 "parameters": [ 3167 "parameters": [
3156 { "name": "scriptId", "$ref": "ScriptId", "description": "Id of the script to get source for." } 3168 { "name": "scriptId", "$ref": "ScriptId", "description": "Id of the script to get source for." }
3157 ], 3169 ],
3158 "returns": [ 3170 "returns": [
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
3250 ], 3262 ],
3251 "returns": [ 3263 "returns": [
3252 { "name": "stepInPositions", "type": "array", "items": { "$r ef": "Location" }, "optional": true, "description": "experimental" } 3264 { "name": "stepInPositions", "type": "array", "items": { "$r ef": "Location" }, "optional": true, "description": "experimental" }
3253 ], 3265 ],
3254 "hidden": true, 3266 "hidden": true,
3255 "description": "Lists all positions where step-in is possible fo r a current statement in a specified call frame" 3267 "description": "Lists all positions where step-in is possible fo r a current statement in a specified call frame"
3256 }, 3268 },
3257 { 3269 {
3258 "name": "getBacktrace", 3270 "name": "getBacktrace",
3259 "returns": [ 3271 "returns": [
3260 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame"}, "description": "Call stack the virtual machine stopped on." } 3272 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "Call stack the virtual machine stopped on." },
3273 { "name": "asyncStackTrace", "$ref": "StackTrace", "optional ": true, "description": "Async stack trace, if any." }
yurys 2013/12/03 13:49:42 hidden:true
aandrey 2013/12/03 15:09:00 ditto
3261 ], 3274 ],
3262 "hidden": true, 3275 "hidden": true,
3263 "description": "Returns call stack including variables changed s ince VM was paused. VM must be paused." 3276 "description": "Returns call stack including variables changed s ince VM was paused. VM must be paused."
3264 }, 3277 },
3265 { 3278 {
3266 "name": "skipStackFrames", 3279 "name": "skipStackFrames",
3267 "parameters": [ 3280 "parameters": [
3268 { "name": "script", "optional": true, "type": "string", "des cription": "Regular expression defining the scripts to ignore while stepping." } 3281 { "name": "script", "optional": true, "type": "string", "des cription": "Regular expression defining the scripts to ignore while stepping." }
3269 ], 3282 ],
3270 "hidden": true, 3283 "hidden": true,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
3309 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." } 3322 { "name": "location", "$ref": "Location", "description": "Ac tual breakpoint location." }
3310 ], 3323 ],
3311 "description": "Fired when breakpoint is resolved to an actual s cript and location." 3324 "description": "Fired when breakpoint is resolved to an actual s cript and location."
3312 }, 3325 },
3313 { 3326 {
3314 "name": "paused", 3327 "name": "paused",
3315 "parameters": [ 3328 "parameters": [
3316 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "Call stack the virtual machine stopped on." }, 3329 { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "Call stack the virtual machine stopped on." },
3317 { "name": "reason", "type": "string", "enum": [ "XHR", "DOM" , "EventListener", "exception", "assert", "CSPViolation", "debugCommand", "other " ], "description": "Pause reason." }, 3330 { "name": "reason", "type": "string", "enum": [ "XHR", "DOM" , "EventListener", "exception", "assert", "CSPViolation", "debugCommand", "other " ], "description": "Pause reason." },
3318 { "name": "data", "type": "object", "optional": true, "descr iption": "Object containing break-specific auxiliary properties." }, 3331 { "name": "data", "type": "object", "optional": true, "descr iption": "Object containing break-specific auxiliary properties." },
3319 { "name": "hitBreakpoints", "type": "array", "optional": tru e, "items": { "type": "string" }, "description": "Hit breakpoints IDs", "hidden" : true } 3332 { "name": "hitBreakpoints", "type": "array", "optional": tru e, "items": { "type": "string" }, "description": "Hit breakpoints IDs", "hidden" : true },
3333 { "name": "asyncStackTrace", "$ref": "StackTrace", "optional ": true, "description": "Async stack trace, if any.", "hidden": true }
3320 ], 3334 ],
3321 "description": "Fired when the virtual machine stopped on breakp oint or exception or any other stop criteria." 3335 "description": "Fired when the virtual machine stopped on breakp oint or exception or any other stop criteria."
3322 }, 3336 },
3323 { 3337 {
3324 "name": "resumed", 3338 "name": "resumed",
3325 "description": "Fired when the virtual machine resumed execution ." 3339 "description": "Fired when the virtual machine resumed execution ."
3326 } 3340 }
3327 ] 3341 ]
3328 }, 3342 },
3329 { 3343 {
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
4058 "parameters": [ 4072 "parameters": [
4059 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 4073 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
4060 ] 4074 ]
4061 }, 4075 },
4062 { 4076 {
4063 "name": "tracingComplete" 4077 "name": "tracingComplete"
4064 } 4078 }
4065 ] 4079 ]
4066 }] 4080 }]
4067 } 4081 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/Script.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698