| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "include/dart_debugger_api.h" | 5 #include "include/dart_debugger_api.h" |
| 6 | 6 |
| 7 #include "vm/dart_api_impl.h" | 7 #include "vm/dart_api_impl.h" |
| 8 #include "vm/dart_api_state.h" | 8 #include "vm/dart_api_state.h" |
| 9 #include "vm/debugger.h" | 9 #include "vm/debugger.h" |
| 10 #include "vm/isolate.h" | 10 #include "vm/isolate.h" |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 Isolate* isolate = Isolate::Current(); | 416 Isolate* isolate = Isolate::Current(); |
| 417 DARTSCOPE(isolate); | 417 DARTSCOPE(isolate); |
| 418 isolate->debugger()->SetStepOver(); | 418 isolate->debugger()->SetStepOver(); |
| 419 return Api::Success(); | 419 return Api::Success(); |
| 420 } | 420 } |
| 421 | 421 |
| 422 | 422 |
| 423 DART_EXPORT Dart_Handle Dart_SetStepInto() { | 423 DART_EXPORT Dart_Handle Dart_SetStepInto() { |
| 424 Isolate* isolate = Isolate::Current(); | 424 Isolate* isolate = Isolate::Current(); |
| 425 DARTSCOPE(isolate); | 425 DARTSCOPE(isolate); |
| 426 isolate->debugger()->SetStepInto(); | 426 isolate->debugger()->SetSingleStep(); |
| 427 return Api::Success(); | 427 return Api::Success(); |
| 428 } | 428 } |
| 429 | 429 |
| 430 | 430 |
| 431 DART_EXPORT Dart_Handle Dart_SetStepOut() { | 431 DART_EXPORT Dart_Handle Dart_SetStepOut() { |
| 432 Isolate* isolate = Isolate::Current(); | 432 Isolate* isolate = Isolate::Current(); |
| 433 DARTSCOPE(isolate); | 433 DARTSCOPE(isolate); |
| 434 isolate->debugger()->SetStepOut(); | 434 isolate->debugger()->SetStepOut(); |
| 435 return Api::Success(); | 435 return Api::Success(); |
| 436 } | 436 } |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 773 | 773 |
| 774 | 774 |
| 775 DART_EXPORT char* Dart_GetVmStatus(const char* request) { | 775 DART_EXPORT char* Dart_GetVmStatus(const char* request) { |
| 776 if (strncmp(request, "/isolate/", 9) == 0) { | 776 if (strncmp(request, "/isolate/", 9) == 0) { |
| 777 return Isolate::GetStatus(request); | 777 return Isolate::GetStatus(request); |
| 778 } | 778 } |
| 779 return NULL; | 779 return NULL; |
| 780 } | 780 } |
| 781 | 781 |
| 782 } // namespace dart | 782 } // namespace dart |
| OLD | NEW |