| OLD | NEW |
| 1 // | 1 // |
| 2 // TODO(turnidge): Finish writing an idl description of the service protocol. | 2 // TODO(turnidge): Finish writing an idl description of the service protocol. |
| 3 // | 3 // |
| 4 | 4 |
| 5 interface Service { | 5 interface Service { |
| 6 getVM() VM | 6 getVM() VM |
| 7 | 7 |
| 8 getFlagList() FlagList | 8 getFlagList() FlagList |
| 9 | 9 |
| 10 setFlag(name string, value string) Response | 10 setFlag(name string, value string) Response |
| 11 | 11 |
| 12 getObject(isolateId string, objectId string) Object | 12 getObject(isolateId string, objectId string) Object |
| 13 | 13 |
| 14 // The response is a subtype of Object or ObjectRef. | 14 // The response is a subtype of Object or ObjectRef. |
| 15 getObjectByAddress(address string, ref bool) Response | 15 getObjectByAddress(address string, ref bool) Response |
| 16 | 16 |
| 17 // Returns the list of breakpoints for an isolate. | 17 // Returns the list of breakpoints for an isolate. |
| 18 getBreakpoints(isolateId string) BreakpointList | 18 getBreakpoints(isolateId string) BreakpointList |
| 19 | 19 |
| 20 // Adds a breakpoint at the specified line. | 20 // Adds a breakpoint at the specified line. |
| 21 // | 21 // |
| 22 // TODO(turnidge): Make line an int instead of a string. | 22 // TODO(turnidge): Make line an int instead of a string. |
| 23 addBreakpoint(isolateId string, | 23 addBreakpoint(isolateId string, |
| 24 scriptId string, | 24 scriptId string, |
| 25 line string) Breakpoint | 25 line string) Breakpoint |
| 26 | 26 |
| 27 // Adds a breakpoint at the entrypoint of the specified function. |
| 28 addBreakpointAtEntry(isolateId string, |
| 29 functionId string) Breakpoint |
| 30 |
| 27 // Removes the specified breakpoint | 31 // Removes the specified breakpoint |
| 28 removeBreakpoint(isolateId string, breakpointId string) Response | 32 removeBreakpoint(isolateId string, breakpointId string) Response |
| 29 | 33 |
| 30 // Requests that an isolate pause execution. | 34 // Requests that an isolate pause execution. |
| 31 pause(isolateId string) Response | 35 pause(isolateId string) Response |
| 32 | 36 |
| 33 // Requests that an isolate resume execution. | 37 // Requests that an isolate resume execution. |
| 34 // | 38 // |
| 35 // <code>step</code> is optional and indicates whether execution | 39 // <code>step</code> is optional and indicates whether execution |
| 36 // should single-step. | 40 // should single-step. |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 VMOnly | 436 VMOnly |
| 433 None | 437 None |
| 434 } | 438 } |
| 435 | 439 |
| 436 // A <code>MetricSelector</code> is used to indicate which list of metrics | 440 // A <code>MetricSelector</code> is used to indicate which list of metrics |
| 437 // should be retrieved from an isolate. | 441 // should be retrieved from an isolate. |
| 438 enum MetricSelector { | 442 enum MetricSelector { |
| 439 Dart, | 443 Dart, |
| 440 Native, | 444 Native, |
| 441 } | 445 } |
| OLD | NEW |