--wait_for_debugger

This commit is contained in:
Ben Vanik 2013-12-26 17:51:46 -08:00
parent e8cafa21b9
commit aa021d22dd
1 changed files with 2 additions and 2 deletions

View File

@ -76,13 +76,13 @@ int DebugServer::BeforeEntry() {
}
// If desired, wait until the first client connects.
//if (FLAGS_wait_for_debugger) {
if (FLAGS_wait_for_debugger) {
XELOGI("Waiting for debugger...");
if (WaitForClient()) {
return 1;
}
XELOGI("Debugger attached, continuing...");
//}
}
return 0;
}