OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Runtime", | 4 "domain": "Runtime", |
5 "description": "Runtime domain exposes JavaScript runtime by means of re
mote evaluation and mirror objects. Evaluation results are returned as mirror ob
ject that expose object type, string representation and unique identifier that c
an be used for further object reference. Original objects are maintained in memo
ry unless they are either explicitly released or are released along with the oth
er objects in their object group.", | 5 "description": "Runtime domain exposes JavaScript runtime by means of re
mote evaluation and mirror objects. Evaluation results are returned as mirror ob
ject that expose object type, string representation and unique identifier that c
an be used for further object reference. Original objects are maintained in memo
ry unless they are either explicitly released or are released along with the oth
er objects in their object group.", |
6 "types": [ | 6 "types": [ |
7 { | 7 { |
8 "id": "ScriptId", | 8 "id": "ScriptId", |
9 "type": "string", | 9 "type": "string", |
10 "description": "Unique script identifier." | 10 "description": "Unique script identifier." |
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 "id": "CPUProfileNode", | 782 "id": "CPUProfileNode", |
783 "type": "object", | 783 "type": "object", |
784 "description": "CPU Profile node. Holds callsite information, ex
ecution statistics and child nodes.", | 784 "description": "CPU Profile node. Holds callsite information, ex
ecution statistics and child nodes.", |
785 "properties": [ | 785 "properties": [ |
786 { "name": "functionName", "type": "string", "description": "
Function name." }, | 786 { "name": "functionName", "type": "string", "description": "
Function name." }, |
787 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti
on": "Script identifier." }, | 787 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti
on": "Script identifier." }, |
788 { "name": "url", "type": "string", "description": "URL." }, | 788 { "name": "url", "type": "string", "description": "URL." }, |
789 { "name": "lineNumber", "type": "integer", "description": "1
-based line number of the function start position." }, | 789 { "name": "lineNumber", "type": "integer", "description": "1
-based line number of the function start position." }, |
790 { "name": "columnNumber", "type": "integer", "description":
"1-based column number of the function start position." }, | 790 { "name": "columnNumber", "type": "integer", "description":
"1-based column number of the function start position." }, |
791 { "name": "hitCount", "type": "integer", "description": "Num
ber of samples where this node was on top of the call stack." }, | 791 { "name": "hitCount", "type": "integer", "description": "Num
ber of samples where this node was on top of the call stack." }, |
792 { "name": "callUID", "type": "number", "description": "Call
UID." }, | |
793 { "name": "children", "type": "array", "items": { "$ref": "C
PUProfileNode" }, "description": "Child nodes." }, | 792 { "name": "children", "type": "array", "items": { "$ref": "C
PUProfileNode" }, "description": "Child nodes." }, |
794 { "name": "deoptReason", "type": "string", "description": "T
he reason of being not optimized. The function may be deoptimized or marked as d
on't optimize."}, | 793 { "name": "deoptReason", "type": "string", "description": "T
he reason of being not optimized. The function may be deoptimized or marked as d
on't optimize."}, |
795 { "name": "id", "type": "integer", "description": "Unique id
of the node." }, | 794 { "name": "id", "type": "integer", "description": "Unique id
of the node." }, |
796 { "name": "positionTicks", "type": "array", "items": { "$ref
": "PositionTickInfo" }, "description": "An array of source position ticks." } | 795 { "name": "positionTicks", "type": "array", "items": { "$ref
": "PositionTickInfo" }, "description": "An array of source position ticks." } |
797 ] | 796 ] |
798 }, | 797 }, |
799 { | 798 { |
800 "id": "CPUProfile", | 799 "id": "CPUProfile", |
801 "type": "object", | 800 "type": "object", |
802 "description": "Profile.", | 801 "description": "Profile.", |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
992 { | 991 { |
993 "name": "heapStatsUpdate", | 992 "name": "heapStatsUpdate", |
994 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", | 993 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", |
995 "parameters": [ | 994 "parameters": [ |
996 { "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."} | 995 { "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."} |
997 ] | 996 ] |
998 } | 997 } |
999 ] | 998 ] |
1000 }] | 999 }] |
1001 } | 1000 } |
OLD | NEW |