OLD | NEW |
1 // <h2>Connecting to the VM Service</h2> | 1 // <h2>Connecting to the VM Service</h2> |
2 // | 2 // |
3 // TODO(turnidge): Describe how to connect, etc. | 3 // TODO(turnidge): Describe how to connect, etc. |
4 // | 4 // |
5 // <h2>Types</h2> | 5 // <h2>Types</h2> |
6 // | 6 // |
7 // Every non-error response returned by the VM Service has the | 7 // Every non-error response returned by the VM Service has the |
8 // <code>type</code> property. This allows the client distinguish | 8 // <code>type</code> property. This allows the client distinguish |
9 // between different kinds of responses. | 9 // between different kinds of responses. |
10 // | 10 // |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 // Requests that an isolate resume execution. | 120 // Requests that an isolate resume execution. |
121 // | 121 // |
122 // <code>step</code> is optional and indicates whether execution | 122 // <code>step</code> is optional and indicates whether execution |
123 // should single-step. | 123 // should single-step. |
124 resume(isolateId string, step StepOption) Response | 124 resume(isolateId string, step StepOption) Response |
125 | 125 |
126 // Evaluate an expression in the context of some target. | 126 // Evaluate an expression in the context of some target. |
127 eval(isolateId string, targetId string, expression string) InstanceRef | 127 eval(isolateId string, targetId string, expression string) InstanceRef |
128 | 128 |
129 // Returns the current execution stack for an isolate. | 129 // Returns the current execution stack for an isolate. |
130 getStack(isolateId string) Stack | 130 // |
| 131 // _full is an optional private parameter. |
| 132 getStack(isolateId string, _full bool) Stack |
131 | 133 |
132 // Returns code coverage information for a library, script, class, | 134 // Returns code coverage information for a library, script, class, |
133 // or function. | 135 // or function. |
134 getCoverage(isolateId string, targetId string) CodeCoverage | 136 getCoverage(isolateId string, targetId string) CodeCoverage |
135 | 137 |
136 // Returns call site cache information for a function. | 138 // Returns call site cache information for a function. |
137 _getCallSiteData(isolateId string, targetId string) _CallSiteData | 139 _getCallSiteData(isolateId string, targetId string) _CallSiteData |
138 | 140 |
139 // Returns a full cpu profile for an isolate. | 141 // Returns a full cpu profile for an isolate. |
140 // | 142 // |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 // The source code for this script. For certain built-in scripts, | 531 // The source code for this script. For certain built-in scripts, |
530 // this may be reconstructed without source comments. | 532 // this may be reconstructed without source comments. |
531 source string | 533 source string |
532 | 534 |
533 // A table encoding a mapping from token position to line and column. | 535 // A table encoding a mapping from token position to line and column. |
534 // | 536 // |
535 // Each entry in the array consists of a line number followed by | 537 // Each entry in the array consists of a line number followed by |
536 // (tokenPos, columnNumber) pairs: | 538 // (tokenPos, columnNumber) pairs: |
537 // | 539 // |
538 // [lineNumber, (tokenPos, columnNumber)*] | 540 // [lineNumber, (tokenPos, columnNumber)*] |
539 // | 541 // |
540 // For example, the following table: | 542 // For example, the following table: |
541 // | 543 // |
542 // [[1, 100, 5, 101, 8],[2, 102, 7]] | 544 // [[1, 100, 5, 101, 8],[2, 102, 7]] |
543 // | 545 // |
544 // Encodes the following mapping: | 546 // Encodes the following mapping: |
545 // | 547 // |
546 // tokenPos line column | 548 // tokenPos line column |
547 // -------- ------ ------ | 549 // -------- ------ ------ |
548 // 100 1 5 | 550 // 100 1 5 |
549 // 101 1 8 | 551 // 101 1 8 |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 | 1131 |
1130 | 1132 |
1131 struct _EchoResponse extends Response { | 1133 struct _EchoResponse extends Response { |
1132 text string | 1134 text string |
1133 } | 1135 } |
1134 | 1136 |
1135 | 1137 |
1136 struct UNDOCUMENTED { | 1138 struct UNDOCUMENTED { |
1137 TODO int | 1139 TODO int |
1138 } | 1140 } |
OLD | NEW |