Definition at line 5699 of file object_test.cc.
◆ ToggleBreakpointTask()
dart::ToggleBreakpointTask::ToggleBreakpointTask |
( |
IsolateGroup * |
isolate_group, |
|
|
Dart_Isolate |
isolate, |
|
|
std::atomic< bool > * |
done |
|
) |
| |
|
inline |
◆ Run()
virtual void dart::ToggleBreakpointTask::Run |
( |
| ) |
|
|
inlinevirtual |
Implements dart::ThreadPool::Task.
Definition at line 5705 of file object_test.cc.
5710 : public ThreadPool::Task {
5711 public:
5714 std::atomic<bool>*
done)
5715 : isolate_group_(isolate_group), isolate_(isolate), done_(
done) {}
5716 virtual void Run() {
5719 const int kBreakpointLine = 5;
5721 for (intptr_t
i = 0;
i < 1000;
i++) {
5725 int64_t breakpoint_id;
5726 {
5727 TransitionNativeToVM transition(t);
static void done(const char *config, const char *src, const char *srcOptions, const char *name)
static const char * url()
static Thread * Current()
ToggleBreakpointTask(IsolateGroup *isolate_group, Dart_Isolate isolate, std::atomic< bool > *done)
struct _Dart_Handle * Dart_Handle
struct _Dart_Isolate * Dart_Isolate
DART_EXPORT void Dart_EnterScope()
DART_EXPORT void Dart_EnterIsolate(Dart_Isolate isolate)
Dart_Handle NewString(const char *str)
Dart_Handle Dart_SetBreakpoint(Dart_Handle script_url_in, intptr_t line_number)
#define EXPECT_VALID(handle)
The documentation for this class was generated from the following file: