| OLD | NEW |
| 1 # Tips for debugging on Linux | 1 # Tips for debugging on Linux |
| 2 | 2 |
| 3 This page is for Chromium-specific debugging tips; learning how to run gdb is | 3 This page is for Chromium-specific debugging tips; learning how to run gdb is |
| 4 out of scope. | 4 out of scope. |
| 5 | 5 |
| 6 [TOC] | 6 [TOC] |
| 7 | 7 |
| 8 ## Symbolized stack trace | 8 ## Symbolized stack trace |
| 9 | 9 |
| 10 The sandbox can interfere with the internal symbolizer. Use `--no-sandbox` (but | 10 The sandbox can interfere with the internal symbolizer. Use `--no-sandbox` (but |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 | 432 |
| 433 $ cd $CHROMIUM_ROOT/src | 433 $ cd $CHROMIUM_ROOT/src |
| 434 $ build/gyp_chromium -Duse_allocator=none | 434 $ build/gyp_chromium -Duse_allocator=none |
| 435 | 435 |
| 436 and rebuild. | 436 and rebuild. |
| 437 | 437 |
| 438 ## Profiling | 438 ## Profiling |
| 439 | 439 |
| 440 See | 440 See |
| 441 https://sites.google.com/a/chromium.org/dev/developers/profiling-chromium-and-we
bkit | 441 https://sites.google.com/a/chromium.org/dev/developers/profiling-chromium-and-we
bkit |
| 442 and | 442 and [Linux Profiling](linux_profiling.md). |
| 443 http://code.google.com/p/chromium/wiki/LinuxProfiling | |
| 444 | 443 |
| 445 ## i18n | 444 ## i18n |
| 446 | 445 |
| 447 We obey your system locale. Try something like: | 446 We obey your system locale. Try something like: |
| 448 | 447 |
| 449 LANG=ja_JP.UTF-8 out/Debug/chrome | 448 LANG=ja_JP.UTF-8 out/Debug/chrome |
| 450 | 449 |
| 451 If this doesn't work, make sure that the `LANGUAGE`, `LC_ALL` and `LC_MESSAGE` | 450 If this doesn't work, make sure that the `LANGUAGE`, `LC_ALL` and `LC_MESSAGE` |
| 452 environment variables aren't set -- they have higher priority than LANG in the | 451 environment variables aren't set -- they have higher priority than LANG in the |
| 453 order listed. Alternatively, just do this: | 452 order listed. Alternatively, just do this: |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 [Running layout tests on Linux](layout_tests_linux.md) page. | 538 [Running layout tests on Linux](layout_tests_linux.md) page. |
| 540 | 539 |
| 541 If you need to test something with hardware accelerated compositing | 540 If you need to test something with hardware accelerated compositing |
| 542 (e.g., compiz), you can use `Xgl` (`sudo apt-get install xserver-xgl`). E.g.: | 541 (e.g., compiz), you can use `Xgl` (`sudo apt-get install xserver-xgl`). E.g.: |
| 543 | 542 |
| 544 Xgl :1 -ac -accel glx:pbuffer -accel xv:pbuffer -screen 1024x768 | 543 Xgl :1 -ac -accel glx:pbuffer -accel xv:pbuffer -screen 1024x768 |
| 545 | 544 |
| 546 ## Mozilla Tips | 545 ## Mozilla Tips |
| 547 | 546 |
| 548 https://developer.mozilla.org/en/Debugging_Mozilla_on_Linux_FAQ | 547 https://developer.mozilla.org/en/Debugging_Mozilla_on_Linux_FAQ |
| OLD | NEW |