OLD | NEW |
1 # Using breakpad with content shell | 1 # Using breakpad with content shell |
2 | 2 |
3 When running layout tests, it is possible to use | 3 When running layout tests, it is possible to use |
4 [breakpad](../../breakpad/breakpad/) to capture stack traces on crashes while | 4 [breakpad](../../breakpad/) to capture stack traces on crashes while |
5 running without a debugger attached and with the sandbox enabled. | 5 running without a debugger attached and with the sandbox enabled. |
6 | 6 |
7 ## Setup | 7 ## Setup |
8 | 8 |
9 On all platforms, build the target `blink_tests`. | 9 On all platforms, build the target `blink_tests`. |
10 | 10 |
11 *** note | 11 *** note |
12 **Mac:** Add `enable_dsyms = 1` to your | 12 **Mac:** Add `enable_dsyms = 1` to your |
13 [gn build arguments](../../tools/gn/docs/quick_start.md) before building. This | 13 [gn build arguments](../../tools/gn/docs/quick_start.md) before building. This |
14 slows down linking several minutes, so don't just always set it by default. | 14 slows down linking several minutes, so don't just always set it by default. |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 109 |
110 * Linux/Android/Mac: | 110 * Linux/Android/Mac: |
111 ```bash | 111 ```bash |
112 out/Default/minidump_stackwalk minidump.dmp out/Debug/content_shell.breakpad.s
yms | 112 out/Default/minidump_stackwalk minidump.dmp out/Debug/content_shell.breakpad.s
yms |
113 ``` | 113 ``` |
114 * Windows: | 114 * Windows: |
115 ```bash | 115 ```bash |
116 "c:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64\cdb.exe" ^ | 116 "c:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64\cdb.exe" ^ |
117 -y out\Default -c ".ecxr;k30;q" -z minidump.dmp | 117 -y out\Default -c ".ecxr;k30;q" -z minidump.dmp |
118 ``` | 118 ``` |
OLD | NEW |