Chromium Code Reviews| Index: src/debug.cc |
| diff --git a/src/debug.cc b/src/debug.cc |
| index d513b3121cc3b86f7df27d229b248738705c8417..5e7e5a4e8086653c9de63d8738b7a671400ff038 100644 |
| --- a/src/debug.cc |
| +++ b/src/debug.cc |
| @@ -684,6 +684,8 @@ void Debug::Setup(bool create_heap_objects) { |
| void Debug::HandleWeakDebugInfo(v8::Persistent<v8::Value> obj, void* data) { |
| DebugInfoListNode* node = reinterpret_cast<DebugInfoListNode*>(data); |
|
Søren Thygesen Gjesse
2010/06/30 11:52:23
Please add a comment on why this is required.
|
| + BreakLocationIterator it(node->debug_info(), ALL_BREAK_LOCATIONS); |
| + it.ClearAllDebugBreak(); |
| RemoveDebugInfo(node->debug_info()); |
| #ifdef DEBUG |
| node = Debug::debug_info_list_; |