|
|
| Line 1: |
Line 1: |
| <small>[[Thunderbird:Home|<< Back to Thunderbird Home Page]]</small> | | <small>[[Thunderbird:Home|<< Back to Thunderbird Home Page]]</small> |
|
| |
|
| = Build =
| | Please see https://developer.mozilla.org/en-US/docs/Introduction |
| | |
| See [https://developer.mozilla.org/en/Simple_Thunderbird_build Simple Thunderbird Build] for build instructions.
| |
| | |
| == Other Useful Commands ==
| |
| | |
| To run the builds in Terminal in the following recommended way, go through the following commands:
| |
| | |
| * Set up for leak detection.
| |
| $ export XPCOM_MEM_LEAK_LOG=2
| |
| | |
| * mail-dumped.txt will show the objects dumped when shut down.
| |
| $ export XPC_SHUTDOWN_HEAP_DUMP=mail-dumped.txt
| |
| | |
| * Change into the directory where ThunderbirdDebug.app is found.
| |
| $ cd @@@YOURDIRECTORY@@@/objdir-i386-apple-darwin9.2.0/mail/dist/ThunderbirdDebug.app/Contents/MacOS/
| |
| | |
| * Create your profile here.
| |
| $ ./thunderbird-bin -Profilemanager --no-remote
| |
| | |
| * Run Thunderbird within gdb to get stack traces when the application crashes.
| |
| $ gdb ./thunderbird-bin
| |
| | |
| * Within gdb, type this command:
| |
| (gdb) handle SIG33 noprint nostop
| |
| | |
| * Run the debug Thunderbird build with your just-created profile.
| |
| (gdb) run -P "@@@YOURPROFILE@@@" -no-remote
| |
| | |
| * When the application crashes, run backtrace within gdb:
| |
| ** and attach the trace shown in your Terminal window as an attachment in a Bugzilla report if there are no other duplicates.
| |
| (gdb) backtrace
| |
| | |
| * To quit gdb, type:
| |
| (gdb) quit
| |
| | |
| [[category:Thunderbird|*]]
| |