Chromium Code Reviews| Index: runtime/vm/dart_api_impl.cc |
| =================================================================== |
| --- runtime/vm/dart_api_impl.cc (revision 1899) |
| +++ runtime/vm/dart_api_impl.cc (working copy) |
| @@ -11,6 +11,7 @@ |
| #include "vm/dart_api_impl.h" |
| #include "vm/dart_api_state.h" |
| #include "vm/dart_entry.h" |
| +#include "vm/debugger.h" |
| #include "vm/debuginfo.h" |
| #include "vm/exceptions.h" |
| #include "vm/growable_array.h" |
| @@ -1563,6 +1564,7 @@ |
| LongJump jump; |
| isolate->set_long_jump_base(&jump); |
| if (setjmp(*jump.Set()) == 0) { |
| + isolate->debugger()->Initialize(isolate); |
|
siva
2011/11/30 00:00:47
Why do we have to wait until InvokeStatic is calle
hausner
2011/11/30 01:17:05
Because I need to wait until all the code is loade
|
| const Array& kNoArgumentNames = Array::Handle(); |
| const Instance& retval = Instance::Handle( |
| DartEntry::InvokeStatic(function, args, kNoArgumentNames)); |