| OLD | NEW |
| 1 # Dart VM Service Protocol | 1 # Dart VM Service Protocol |
| 2 | 2 |
| 3 NOTE: The service api is still changing rapidly. If you use the | 3 NOTE: The service api is still changing rapidly. If you use the |
| 4 service api, expect to encounter non-compatible changes. | 4 service api, expect to encounter non-compatible changes. |
| 5 | 5 |
| 6 Description | 6 Description |
| 7 How to start | 7 How to start |
| 8 JSON | 8 JSON |
| 9 Websocket | 9 Websocket |
| 10 | 10 |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 *Token line format* | 422 *Token line format* |
| 423 | index | value | comments | 423 | index | value | comments |
| 424 | --- | --- | --- | 424 | --- | --- | --- |
| 425 | 0 | int | line number | 425 | 0 | int | line number |
| 426 | 1 | int | first token position | 426 | 1 | int | first token position |
| 427 | 2 | int | first column number | 427 | 2 | int | first column number |
| 428 | ... | ... | ... | 428 | ... | ... | ... |
| 429 | 1 + (2 * k) | int | kth token position | 429 | 1 + (2 * k) | int | kth token position |
| 430 | 2 + (2 * k) | int | kth column number | 430 | 2 + (2 * k) | int | kth column number |
| 431 | 431 |
| 432 ### <a name="Sentinel"></a>Sentinel |
| 433 |
| 434 TODO: Enumerate known Sentinels |
| 435 TODO: Should this even have an id? Maybe a *kind* instead. |
| 436 |
| 437 | keys | values | comments |
| 438 | --- | --- | --- |
| 439 | type | "Sentinel" | |
| 440 | id | String | | |
| 441 | valueAsString | String | |
| 442 |
| 432 ### <a name="VM"></a>VM | 443 ### <a name="VM"></a>VM |
| 433 | 444 |
| 434 | keys | values | comments | 445 | keys | values | comments |
| 435 | --- | --- | --- | 446 | --- | --- | --- |
| 436 | type | "VM" | | 447 | type | "VM" | |
| 437 | id | String | | 448 | id | String | |
| 438 | targetCPU | String | | 449 | targetCPU | String | |
| 439 | hostCPU | String | | 450 | hostCPU | String | |
| 440 | date | String | kill? | | 451 | date | String | kill? | |
| 441 | version | String | | 452 | version | String | |
| 442 | pid | int | | 453 | pid | int | |
| 443 | assertsEnabled | bool | TODO: move to features? | | 454 | assertsEnabled | bool | TODO: move to features? | |
| 444 | typeChecksEnabled | bool | TODO: move to features? | | 455 | typeChecksEnabled | bool | TODO: move to features? | |
| 445 | uptime | double | seconds since vm started | | 456 | uptime | double | seconds since vm started | |
| 446 | "isolates" | List of [@Isolate](#atIsolate) | | 457 | "isolates" | List of [@Isolate](#atIsolate) | |
| 447 | 458 |
| OLD | NEW |