OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/base_switches.h" | 5 #include "base/base_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // If the program includes chrome/common/debug_on_start.h, the process will | 9 // If the program includes base/debug/debug_on_start_win.h, the process will |
10 // start the JIT system-registered debugger on itself and will wait for 60 | 10 // (on Windows only) start the JIT system-registered debugger on itself and |
11 // seconds for the debugger to attach to itself. Then a break point will be hit. | 11 // will wait for 60 seconds for the debugger to attach to itself. Then a break |
| 12 // point will be hit. |
12 const char kDebugOnStart[] = "debug-on-start"; | 13 const char kDebugOnStart[] = "debug-on-start"; |
13 | 14 |
14 // Disables the crash reporting. | 15 // Disables the crash reporting. |
15 const char kDisableBreakpad[] = "disable-breakpad"; | 16 const char kDisableBreakpad[] = "disable-breakpad"; |
16 | 17 |
17 // Enable DCHECKs in release mode. | 18 // Enable DCHECKs in release mode. |
18 const char kEnableDCHECK[] = "enable-dcheck"; | 19 const char kEnableDCHECK[] = "enable-dcheck"; |
19 | 20 |
20 // Generates full memory crash dump. | 21 // Generates full memory crash dump. |
21 const char kFullMemoryCrashReport[] = "full-memory-crash-report"; | 22 const char kFullMemoryCrashReport[] = "full-memory-crash-report"; |
(...skipping 21 matching lines...) Expand all Loading... |
43 // Any pattern containing a forward or backward slash will be tested | 44 // Any pattern containing a forward or backward slash will be tested |
44 // against the whole pathname and not just the module. E.g., | 45 // against the whole pathname and not just the module. E.g., |
45 // "*/foo/bar/*=2" would change the logging level for all code in | 46 // "*/foo/bar/*=2" would change the logging level for all code in |
46 // source files under a "foo/bar" directory. | 47 // source files under a "foo/bar" directory. |
47 const char kVModule[] = "vmodule"; | 48 const char kVModule[] = "vmodule"; |
48 | 49 |
49 // Will wait for 60 seconds for a debugger to come to attach to the process. | 50 // Will wait for 60 seconds for a debugger to come to attach to the process. |
50 const char kWaitForDebugger[] = "wait-for-debugger"; | 51 const char kWaitForDebugger[] = "wait-for-debugger"; |
51 | 52 |
52 } // namespace switches | 53 } // namespace switches |
OLD | NEW |