Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index bfff171e89ab09c40a72da829ad6550643abebd8..98b64f3ad0a474c02a16f84b7bc1339425b5a31c 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -1083,9 +1083,11 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { |
StartMetricsRecording(); |
#endif |
- // Create watchdog thread after creating all other threads because it will |
- // watch the other threads and they must be running. |
- browser_process_->watchdog_thread(); |
+ if (!base::debug::BeingDebugged()) { |
+ // Create watchdog thread after creating all other threads because it will |
+ // watch the other threads and they must be running. |
+ browser_process_->watchdog_thread(); |
+ } |
// Do any initializating in the browser process that requires all threads |
// running. |