Chromium Code Reviews| Index: runtime/vm/isolate.cc |
| =================================================================== |
| --- runtime/vm/isolate.cc (revision 1899) |
| +++ runtime/vm/isolate.cc (working copy) |
| @@ -11,6 +11,7 @@ |
| #include "vm/code_index_table.h" |
| #include "vm/compiler_stats.h" |
| #include "vm/dart_api_state.h" |
| +#include "vm/debugger.h" |
| #include "vm/debuginfo.h" |
| #include "vm/heap.h" |
| #include "vm/message_queue.h" |
| @@ -55,6 +56,7 @@ |
| api_state_(NULL), |
| stub_code_(NULL), |
| code_index_table_(NULL), |
| + debugger_(NULL), |
| long_jump_base_(NULL), |
| timer_list_(), |
| stack_limit_(0), |
| @@ -126,6 +128,8 @@ |
| // main thread. |
| result->SetStackLimitFromCurrentTOS(reinterpret_cast<uword>(&result)); |
| + result->debugger_ = new Debugger(); |
| + |
| return result; |
| } |
| @@ -293,6 +297,8 @@ |
| // Visit the top context which is stored in the isolate. |
| visitor->VisitPointer(reinterpret_cast<RawObject**>(&top_context_)); |
| + |
|
siva
2011/11/30 00:00:47
// Visit objects in the debugger.
hausner
2011/11/30 01:17:05
Done.
|
| + debugger()->VisitObjectPointers(visitor); |
| } |
| } // namespace dart |