Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2762)

Unified Diff: chrome/common/chrome_switches.cc

Issue 7134007: Added command line switches "crash-on-hang-threads" and "crash-on-hang-seconds" (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
===================================================================
--- chrome/common/chrome_switches.cc (revision 89361)
+++ chrome/common/chrome_switches.cc (working copy)
@@ -150,6 +150,27 @@
// string value, the 2 letter code from ISO 3166-1.
const char kCountry[] = "country";
+// Causes the browser process to crash if browser threads are not responding for
+// the given number of seconds.
+const char kCrashOnHangSeconds[] = "crash-on-hang-seconds";
+
+// Comma separated list of BrowserThreads that cause browser process to crash if
+// the given browser thread is not responsive. UI,IO,DB,FILE,CACHE are the list
+// of BrowserThreads that are supported.
+//
+// For example:
+// --crash-on-hang-threads=UI,IO --> Crash the browser if UI or IO thread is
+// not responsive.
+const char kCrashOnHangThreads[] = "crash-on-hang-threads";
+
+// Causes the browser process to crash if the number of browser threads that are
+// responding is equal to the given number.
+//
+// For example:
+// --crash-on-live=1 --> Crash if only one thread is responsive and all other
+// threads are not responsive.
+const char kCrashOnLive[] = "crash-on-live";
+
// Path to the inspector files on disk (allows reloading of devtool files
// without having to restart the browser).
const char kDebugDevToolsFrontend[] = "debug-devtools-frontend";
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698