Go to the source code of this file.
|
Dart_Handle | dart::Dart_StackTraceLength (Dart_StackTrace trace, intptr_t *length) |
|
Dart_Handle | dart::Dart_GetActivationFrame (Dart_StackTrace trace, int frame_index, Dart_ActivationFrame *frame) |
|
Dart_Handle | dart::Dart_GetStackTrace (Dart_StackTrace *trace) |
|
Dart_Handle | dart::Dart_GetStackTraceFromError (Dart_Handle handle, Dart_StackTrace *trace) |
|
Dart_Handle | dart::Dart_ActivationFrameInfo (Dart_ActivationFrame activation_frame, Dart_Handle *function_name, Dart_Handle *script_url, intptr_t *line_number, intptr_t *column_number) |
|
Dart_Handle | dart::Dart_SetBreakpoint (Dart_Handle script_url_in, intptr_t line_number) |
|
Dart_Handle | dart::Dart_RemoveBreakpoint (Dart_Handle breakpoint_id_in) |
|
Dart_Handle | dart::Dart_EvaluateStaticExpr (Dart_Handle lib_handle, Dart_Handle expr_in) |
|
Dart_Handle | dart::Dart_LibraryId (Dart_Handle library, intptr_t *library_id) |
|
Dart_Handle | dart::Dart_GetLibraryDebuggable (intptr_t library_id, bool *is_debuggable) |
|
Dart_Handle | dart::Dart_SetLibraryDebuggable (intptr_t library_id, bool is_debuggable) |
|
◆ CHECK_AND_CAST
#define CHECK_AND_CAST |
( |
|
type, |
|
|
|
var, |
|
|
|
param |
|
) |
| |
Value:
do { \
if (param == nullptr) { \
return Api::NewError("%s expects argument '%s' to be non-null.", \
} \
var =
reinterpret_cast<type*
>(param); \
} while (0)
Definition at line 41 of file debugger_api_impl_test.cc.
43 { \
44 if (param == nullptr) { \
45 return Api::NewError("%s expects argument '%s' to be non-null.", \
47 } \
48 var =
reinterpret_cast<type*
>(param); \
49 } while (0)
◆ CHECK_DEBUGGER
#define CHECK_DEBUGGER |
( |
|
isolate | ) |
|
Value: if (isolate->debugger() == nullptr) { \
return Api::NewError(
"%s requires debugger support.",
CURRENT_FUNC); \
}
Definition at line 57 of file debugger_api_impl_test.cc.
58 { \
59 return Api::NewError(
"%s requires debugger support.",
CURRENT_FUNC); \
60 }
◆ CHECK_NOT_NULL
#define CHECK_NOT_NULL |
( |
|
param | ) |
|
Value: if (param == nullptr) { \
return Api::NewError("%s expects argument '%s' to be non-null.", \
}
Definition at line 51 of file debugger_api_impl_test.cc.
52 { \
53 return Api::NewError("%s expects argument '%s' to be non-null.", \
55 }
◆ UNWRAP_AND_CHECK_PARAM
#define UNWRAP_AND_CHECK_PARAM |
( |
|
type, |
|
|
|
var, |
|
|
|
param |
|
) |
| |
Value: type& var = type::Handle(); \
do { \
const Object& tmp = Object::Handle(Api::UnwrapHandle(param)); \
if (tmp.IsNull()) { \
return Api::NewError("%s expects argument '%s' to be non-null.", \
} else if (tmp.IsApiError()) { \
return param; \
}
else if (!tmp.Is##
type()) { \
return Api::NewError("%s expects argument '%s' to be of type %s.", \
} \
var ^= tmp.ptr(); \
} while (0)
Definition at line 25 of file debugger_api_impl_test.cc.
27 { \
28 const Object& tmp = Object::Handle(Api::UnwrapHandle(param)); \
29 if (tmp.IsNull()) { \
30 return Api::NewError("%s expects argument '%s' to be non-null.", \
32 } else if (tmp.IsApiError()) { \
33 return param; \
34 }
else if (!tmp.Is##
type()) { \
35 return Api::NewError("%s expects argument '%s' to be of type %s.", \
37 } \
38 var ^= tmp.ptr(); \
39 } while (0)