Index: runtime/vm/debugger.cc |
diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc |
index 2855c1826009d6cc2882bb3f356cdadf2be7bba2..0cd16d852896199b9843d5d2687776c0c9e4dfb1 100644 |
--- a/runtime/vm/debugger.cc |
+++ b/runtime/vm/debugger.cc |
@@ -234,6 +234,11 @@ ActivationFrame::ActivationFrame( |
} |
+void DebuggerEvent::UpdateTimestamp() { |
+ timestamp_ = OS::GetCurrentTimeMillis(); |
+} |
+ |
+ |
bool Debugger::HasEventHandler() { |
return ((event_handler_ != NULL) || |
Service::isolate_stream.enabled() || |
@@ -2314,6 +2319,7 @@ void Debugger::Pause(DebuggerEvent* event) { |
ASSERT(obj_cache_ == NULL); |
pause_event_ = event; |
+ pause_event_->UpdateTimestamp(); |
obj_cache_ = new RemoteObjectCache(64); |
InvokeEventHandler(event); |