| Index: runtime/bin/dbg_connection.cc
|
| diff --git a/runtime/bin/dbg_connection.cc b/runtime/bin/dbg_connection.cc
|
| index 2cc4cd83ffa761e4bc780f45c94c038b0980486a..6bd0cda256d67e5e109ffefcf55b1910c1461fc4 100644
|
| --- a/runtime/bin/dbg_connection.cc
|
| +++ b/runtime/bin/dbg_connection.cc
|
| @@ -198,6 +198,9 @@ void DebuggerConnectionHandler::HandleMessages() {
|
| msgbuf_->ReadData();
|
| }
|
| if (!msgbuf_->Alive()) {
|
| + if (trace_debug_protocol) {
|
| + Log::Print("Debugger is exiting HandleMessages loop.\n");
|
| + }
|
| return;
|
| }
|
|
|
| @@ -344,6 +347,13 @@ int DebuggerConnectionHandler::StartHandler(const char* address,
|
| }
|
|
|
|
|
| +void DebuggerConnectionHandler::StopHandler() {
|
| + if (IsConnected()) {
|
| + DebuggerConnectionImpl::StopHandler(singleton_handler->debug_fd());
|
| + }
|
| +}
|
| +
|
| +
|
| void DebuggerConnectionHandler::WaitForConnection() {
|
| ASSERT(handler_lock_ != NULL);
|
| MonitorLocker ml(handler_lock_);
|
|
|