Index: runtime/vm/debugger_api_impl.cc |
=================================================================== |
--- runtime/vm/debugger_api_impl.cc (revision 23307) |
+++ runtime/vm/debugger_api_impl.cc (working copy) |
@@ -78,7 +78,7 @@ |
CHECK_NOT_NULL(length); |
CHECK_AND_CAST(DebuggerStackTrace, stack_trace, trace); |
*length = stack_trace->Length(); |
- return Api::True(isolate); |
+ return Api::Success(); |
} |
@@ -96,7 +96,7 @@ |
} |
*frame = reinterpret_cast<Dart_ActivationFrame>( |
stack_trace->ActivationFrameAt(frame_index)); |
- return Api::True(isolate); |
+ return Api::Success(); |
} |
static Dart_PausedEventHandler* paused_event_handler = NULL; |
@@ -204,7 +204,7 @@ |
Isolate* isolate = Isolate::Current(); |
DARTSCOPE(isolate); |
isolate->debugger()->SetExceptionPauseInfo(pause_info); |
- return Api::True(isolate); |
+ return Api::Success(); |
} |
@@ -220,7 +220,7 @@ |
DARTSCOPE(isolate); |
CHECK_NOT_NULL(trace); |
*trace = reinterpret_cast<Dart_StackTrace>(isolate->debugger()->StackTrace()); |
- return Api::True(isolate); |
+ return Api::Success(); |
} |
@@ -246,7 +246,7 @@ |
const Library& lib = Library::Handle(frame->Library()); |
*library_id = lib.index(); |
} |
- return Api::True(isolate); |
+ return Api::Success(); |
} |
@@ -269,7 +269,7 @@ |
location->library_id = lib.index(); |
location->token_pos = frame->TokenPos(); |
} |
- return Api::True(isolate); |
+ return Api::Success(); |
} |
@@ -397,7 +397,7 @@ |
} |
debugger->OneTimeBreakAtEntry(bp_target); |
- return Api::True(isolate); |
+ return Api::Success(); |
} |
@@ -408,7 +408,7 @@ |
ASSERT(debugger != NULL); |
isolate->debugger()->RemoveBreakpoint(bp_id); |
- return Api::True(isolate); |
+ return Api::Success(); |
} |
@@ -416,7 +416,7 @@ |
Isolate* isolate = Isolate::Current(); |
DARTSCOPE(isolate); |
isolate->debugger()->SetStepOver(); |
- return Api::True(isolate); |
+ return Api::Success(); |
} |
@@ -424,7 +424,7 @@ |
Isolate* isolate = Isolate::Current(); |
DARTSCOPE(isolate); |
isolate->debugger()->SetStepInto(); |
- return Api::True(isolate); |
+ return Api::Success(); |
} |
@@ -432,7 +432,7 @@ |
Isolate* isolate = Isolate::Current(); |
DARTSCOPE(isolate); |
isolate->debugger()->SetStepOut(); |
- return Api::True(isolate); |
+ return Api::Success(); |
} |
@@ -493,7 +493,7 @@ |
UNWRAP_AND_CHECK_PARAM(Instance, obj, object_in); |
CHECK_NOT_NULL(class_id); |
*class_id = obj.GetClassId(); |
- return Api::True(isolate); |
+ return Api::Success(); |
} |
@@ -536,7 +536,7 @@ |
*static_fields = |
Api::NewHandle(isolate, isolate->debugger()->GetStaticFields(cls)); |
} |
- return Api::True(isolate); |
+ return Api::Success(); |
} |
@@ -747,7 +747,7 @@ |
CURRENT_FUNC, library_id); |
} |
*is_debuggable = lib.IsDebuggable(); |
- return Api::True(isolate); |
+ return Api::Success(); |
} |
@@ -762,7 +762,7 @@ |
CURRENT_FUNC, library_id); |
} |
lib.set_debuggable(is_debuggable); |
- return Api::True(isolate); |
+ return Api::Success(); |
} |