https://bfwiki.tellefsen.net//index.php?title=Backtrace_Under_Mac_OS_X&feed=atom&action=historyBacktrace Under Mac OS X - Revision history2024-03-29T09:23:37ZRevision history for this page on the wikiMediaWiki 1.38.2https://bfwiki.tellefsen.net//index.php?title=Backtrace_Under_Mac_OS_X&diff=64&oldid=prevChristian at 09:46, 27 October 20082008-10-27T09:46:48Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:46, 27 October 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l11">Line 11:</td>
<td colspan="2" class="diff-lineno">Line 11:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*If you have already compiled bluefish in local tree, and provided that the source files you want to backtrace have a <code>#define DEBUG</code> into them, which is not commented out, just perform steps 10-4, 10-5, 12bis, 13 and 14. You can check for the existence of the <code>#define DEBUG</code> lines by untaring the source file located in /sw/src. Copy it to your Desktop and perform step3.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*If you have already compiled bluefish in local tree, and provided that the source files you want to backtrace have a <code>#define DEBUG</code> into them, which is not commented out, just perform steps 10-4, 10-5, 12bis, 13 and 14. You can check for the existence of the <code>#define DEBUG</code> lines by untaring the source file located in /sw/src. Copy it to your Desktop and perform step3.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*If you have already compiled bluefish in local tree, and the <code>#define DEBUG</code> lines do not exist or are commented out, move the source tarball to your desktop and perform steps 3, 4, 5, 6, 9, 10-2, 10-4, 10-5, 12bis, 13 and 14.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*If you have already compiled bluefish in local tree, and the <code>#define DEBUG</code> lines do not exist or are commented out, move the source tarball to your desktop and perform steps 3, 4, 5, 6, 9, 10-2, 10-4, 10-5, 12bis, 13 and 14.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*If you want to return to normal compiling, remove from the info file<code>--with-debugging-output</code> in the <code>~<del style="font-weight: bold; text-decoration: none;">[[</del>ConfigParams<del style="font-weight: bold; text-decoration: none;">]]</del></code> line or the whole line if it only contains this flag, and <code>-g</code> in the <code><del style="font-weight: bold; text-decoration: none;">[[</del>SetCFLAGS<del style="font-weight: bold; text-decoration: none;">]]</del></code> line or the whole line if it contains only that flag, delete the folder bluefishxxx in /sw/src and launch <code>fink rebuild bluefish</code>.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*If you want to return to normal compiling, remove from the info file<code>--with-debugging-output</code> in the <code>~ConfigParams</code> line or the whole line if it only contains this flag, and <code>-g</code> in the <code>SetCFLAGS</code> line or the whole line if it contains only that flag, delete the folder bluefishxxx in /sw/src and launch <code>fink rebuild bluefish</code>.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>1. Download the tarball from [http://bluefish.openoffice.nl/download.html], section Development Snapshots.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>1. Download the tarball from [http://bluefish.openoffice.nl/download.html], section Development Snapshots.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l129">Line 129:</td>
<td colspan="2" class="diff-lineno">Line 129:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <code>cd /sw/src/bluefish-2003-10-16/bluefish-gtk2/</code><br></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <code>cd /sw/src/bluefish-2003-10-16/bluefish-gtk2/</code><br></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Launch gdb with: <code>gdb src/bluefish</code><br></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Launch gdb with: <code>gdb src/bluefish</code><br></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> Then see details on [[<del style="font-weight: bold; text-decoration: none;">DebuggingBluefish</del>]] from Type r to start</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> Then see details on [[<ins style="font-weight: bold; text-decoration: none;">Debugging Bluefish</ins>]] from Type r to start</div></td></tr>
</table>Christianhttps://bfwiki.tellefsen.net//index.php?title=Backtrace_Under_Mac_OS_X&diff=63&oldid=prevChristian at 09:46, 27 October 20082008-10-27T09:46:24Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:46, 27 October 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">=</del>== Compiling the latest snapshots under Mac OS X</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>== Compiling the latest snapshots under Mac OS X <ins style="font-weight: bold; text-decoration: none;">==</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">====</del>The following steps apply to:</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The following steps apply to:</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* MacOS 10.2.8 or 10.3</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* MacOS 10.2.8 or 10.3</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Fink 0.15.0 and higher</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Fink 0.15.0 and higher</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l7">Line 7:</td>
<td colspan="2" class="diff-lineno">Line 7:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* either gcc 3.1 or gcc 3.3</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* either gcc 3.1 or gcc 3.3</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">=</del>===Steps to perform<del style="font-weight: bold; text-decoration: none;">:</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>===Steps to perform<ins style="font-weight: bold; text-decoration: none;">===</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*Note: Those steps are the necessary steps if you have not compiled bluefish in local tree previously.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*Note: Those steps are the necessary steps if you have not compiled bluefish in local tree previously.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*If you have already compiled bluefish in local tree, and provided that the source files you want to backtrace have a <code>#define DEBUG</code> into them, which is not commented out, just perform steps 10-4, 10-5, 12bis, 13 and 14. You can check for the existence of the <code>#define DEBUG</code> lines by untaring the source file located in /sw/src. Copy it to your Desktop and perform step3.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*If you have already compiled bluefish in local tree, and provided that the source files you want to backtrace have a <code>#define DEBUG</code> into them, which is not commented out, just perform steps 10-4, 10-5, 12bis, 13 and 14. You can check for the existence of the <code>#define DEBUG</code> lines by untaring the source file located in /sw/src. Copy it to your Desktop and perform step3.</div></td></tr>
</table>Christianhttps://bfwiki.tellefsen.net//index.php?title=Backtrace_Under_Mac_OS_X&diff=62&oldid=prevChristian at 09:45, 27 October 20082008-10-27T09:45:44Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:45, 27 October 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l2">Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>====The following steps apply to:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>====The following steps apply to:</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* <del style="font-weight: bold; text-decoration: none;">[[</del>MacOS<del style="font-weight: bold; text-decoration: none;">]] </del>10.2.8 or 10.3</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* MacOS 10.2.8 or 10.3</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Fink 0.15.0 and higher</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Fink 0.15.0 and higher</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Fink rsync (recommanded) or Fink cvs</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Fink rsync (recommanded) or Fink cvs</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l14">Line 14:</td>
<td colspan="2" class="diff-lineno">Line 14:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>1. Download the tarball from [http://bluefish.openoffice.nl/download.html], section Development Snapshots.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>1. Download the tarball from [http://bluefish.openoffice.nl/download.html], section Development Snapshots.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>2. Don't let ~<del style="font-weight: bold; text-decoration: none;">[[</del>StuffItExpander<del style="font-weight: bold; text-decoration: none;">]] </del>expand it.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>2. Don't let ~StuffItExpander expand it.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>3. Untar it::</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>3. Untar it::</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l75">Line 75:</td>
<td colspan="2" class="diff-lineno">Line 75:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> 2 - Change the Source-MD5: line to have the new computed MD5 checksum.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> 2 - Change the Source-MD5: line to have the new computed MD5 checksum.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> 3 - Check if you have a ~<del style="font-weight: bold; text-decoration: none;">[[</del>SourceDirectory<del style="font-weight: bold; text-decoration: none;">]] </del>line (if not already done):</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> 3 - Check if you have a ~SourceDirectory line (if not already done):</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> If you have one, change it to: <code>~<del style="font-weight: bold; text-decoration: none;">[[</del>SourceDirectory<del style="font-weight: bold; text-decoration: none;">]]</del>: bluefish-gtk2</code></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> If you have one, change it to: <code>~SourceDirectory: bluefish-gtk2</code></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> If you don't have one, add a new line just after the Source-MD5 line, and type: <code>~[[SourceDirectory]]: bluefish-gtk2</code></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> If you don't have one, add a new line just after the Source-MD5 line, and type: <code>~[[SourceDirectory]]: bluefish-gtk2</code></div></td></tr>
</table>Christianhttps://bfwiki.tellefsen.net//index.php?title=Backtrace_Under_Mac_OS_X&diff=8&oldid=prevChristian: New page: === Compiling the latest snapshots under Mac OS X ====The following steps apply to: * MacOS 10.2.8 or 10.3 * Fink 0.15.0 and higher * Fink rsync (recommanded) or Fink cvs * either gcc...2008-10-26T19:56:19Z<p>New page: === Compiling the latest snapshots under Mac OS X ====The following steps apply to: * <a href="/index.php?title=MacOS&action=edit&redlink=1" class="new" title="MacOS (page does not exist)">MacOS</a> 10.2.8 or 10.3 * Fink 0.15.0 and higher * Fink rsync (recommanded) or Fink cvs * either gcc...</p>
<p><b>New page</b></p><div>=== Compiling the latest snapshots under Mac OS X<br />
<br />
====The following steps apply to:<br />
* [[MacOS]] 10.2.8 or 10.3<br />
* Fink 0.15.0 and higher<br />
* Fink rsync (recommanded) or Fink cvs<br />
* either gcc 3.1 or gcc 3.3<br />
<br />
====Steps to perform:<br />
*Note: Those steps are the necessary steps if you have not compiled bluefish in local tree previously.<br />
*If you have already compiled bluefish in local tree, and provided that the source files you want to backtrace have a <code>#define DEBUG</code> into them, which is not commented out, just perform steps 10-4, 10-5, 12bis, 13 and 14. You can check for the existence of the <code>#define DEBUG</code> lines by untaring the source file located in /sw/src. Copy it to your Desktop and perform step3.<br />
*If you have already compiled bluefish in local tree, and the <code>#define DEBUG</code> lines do not exist or are commented out, move the source tarball to your desktop and perform steps 3, 4, 5, 6, 9, 10-2, 10-4, 10-5, 12bis, 13 and 14.<br />
*If you want to return to normal compiling, remove from the info file<code>--with-debugging-output</code> in the <code>~[[ConfigParams]]</code> line or the whole line if it only contains this flag, and <code>-g</code> in the <code>[[SetCFLAGS]]</code> line or the whole line if it contains only that flag, delete the folder bluefishxxx in /sw/src and launch <code>fink rebuild bluefish</code>.<br />
1. Download the tarball from [http://bluefish.openoffice.nl/download.html], section Development Snapshots.<br />
<br />
2. Don't let ~[[StuffItExpander]] expand it.<br />
<br />
3. Untar it::<br />
Open the Terminal<br><br />
Move to the directory where you downloaded the tarball by typing: <code>cd ~nameofthedirectory</code><br><br />
Press enter<br><br />
Assuming the name of the tarball is bluefish-2003-10-16.tar.bz2, type: <code>bzip2 -dc bluefish-2003-10-16.tar.bz2 | tar -xvf -</code><br><br />
Press enter<br><br />
<br />
4. Enable debugging::<br />
A new folder named bluefish-gtk2 has been created.<br><br />
Open it by double-clicking it, open the src folder inside it.<br><br />
Open the desired c file by double-clicking it and change it as follows:<br><br />
If you find a line: <code>/''' #define DEBUG '''/</code> near the top of the file, just remove the <code>/'''</code> and <code>'''/</code> on this line<br><br />
If this is not the case, add a new line just after the first <code>*/</code> and type: <code>#define DEBUG</code><br><br />
Save the file<br />
<br />
5. Tar the folder again::<br />
Type in the terminal: <code>tar cf bluefish-2003-10-16.tar bluefish-gtk2</code><br><br />
Press enter<br><br />
Move the tarball you downloaded elsewhere<br><br />
Type in the terminal: <code>bzip2 bluefish-2003-10-16.tar</code><br><br />
Press enter in the terminal.<br />
<br />
6. Copy the new tarball to /sw/src::<br />
Type in the terminal: <code>sudo cp bluefish-2003-10-16.tar.bz2 /sw/src</code><br><br />
Press enter<br><br />
Enter your password at the prompt<br />
<br />
7. Check you gcc version with::<br />
<code>gcc --v</code><br />
<br />
8. Copy Fink's bluefish.info and Fink's bluefish.patch files to your local tree (if not already done) with::<br />
If you use gcc 3.1:<br />
<br />
<code>sudo cp /sw/fink/10.2/unstable/main/finkinfo/editors/bluefish.* /sw/fink/10.2/local/main/finkinfo/</code><br />
<br />
If you use gcc 3.3 (be aware not to split the line):<br />
<br />
<code>sudo cp /sw/fink/10.2-gcc3.3/unstable/main/finkinfo/editors/bluefish.* /sw/fink/10.2/local/main/finkinfo/</code><br />
<br />
If you only have a 10.3 tree:<br />
<br />
<code>sudo cp /sw/fink/10.3/unstable/main/finkinfo/editors/bluefish.* /sw/fink/10.3/local/main/finkinfo/</code><br />
<br />
<br />
<br />
9. Compute the MD5 checksum for the snapshot with::<br />
<code>md5 /sw/src/nameofthebluefishtarball</code><br />
<br />
10. Edit the info file with::<br />
<code>sudo pico /sw/fink/10.2/local/main/finkinfo/bluefish.info</code><br><br />
or:<br><br />
<code>sudo pico /sw/fink/10.3/local/main/finkinfo/bluefish.info</code><br />
<br />
1 - Change the Version: line to match the date in the tarball's name, i.e. if the name of the tarball is bluefish-2003-10-16.tar.bz2, change it to:<br />
<br />
<code>Version: 2003-10-16</code><br />
<br />
2 - Change the Source-MD5: line to have the new computed MD5 checksum.<br />
<br />
3 - Check if you have a ~[[SourceDirectory]] line (if not already done):<br />
<br />
If you have one, change it to: <code>~[[SourceDirectory]]: bluefish-gtk2</code><br />
<br />
If you don't have one, add a new line just after the Source-MD5 line, and type: <code>~[[SourceDirectory]]: bluefish-gtk2</code><br />
<br />
4 - Add the g flags to the following line (create it if it does not exist) just under the ~[[SourceDirectory]] line:<br />
<br />
<code>~[[SetCFLAGS]]: -g</code><br />
<br />
5 - Add the appropriate flag to the following line just under the above one:<br />
<br />
<code>~[[ConfigureParams]]: --with-debugging-output</code><br />
<br />
11. Edit the patch info file with::<br />
<code>sudo pico /sw/fink/10.2/local/main/finkinfo/bluefish.patch</code><br><br />
or:<br><br />
<code>sudo pico /sw/fink/10.3/local/main/finkinfo/bluefish.patch</code><br />
<br />
Change the first two lines to have the date of the tarball's name in them, i.e. if the name of the tarball is bluefish-2003-10-16.tar.bz2, change them to:<br />
<br />
<code>--- bluefish-2003-10-16/configure</code><br><br />
<code>+++ bluefish-2003-10-16-patched/configure</code><br />
<br />
12. Check you Fink configuration with::<br />
<code>cat /sw/etc/fink.conf</code><br />
<br />
The Trees: line should match the following:<br><br />
<code>Trees: local/main unstable/main unstable/crypto stable/main stable/crypto local/bootstrap</code><br />
<br />
If this is not the case, open the file with:<br><br />
<code>sudo pico /sw/etc/fink.conf</code><br />
<br />
and change the line accordingly.<br />
<br />
12bis. (Only for version < 0.12) Remove any gnome-vfs2-ssl librairies as long as their versions are lower than 2.2::<br />
Check the version with:<br><br />
<code>fink list -t -i gnome</code><br />
<br />
Remove the offending librairies (if any) with:<br><br />
<code>fink remove gnome-vfs2-ssl gnome-vfs2-ssl-dev gnome-vfs2-ssl-shlibs</code><br />
<br />
13. Rebuild the bluefish package::<br />
For version < 0.13:<br />
<code>fink -k rebuild bluefish</code><br><br />
For version >=0.13:<br><br />
<code>fink -k rebuild bluefish-gnome2</code> if have GNOME2 installed<br><br />
<code>fink -k rebuild bluefish</code> otherwise<br><br />
<br />
14. Start gdb::<br />
Launch X11 or XDarwin. Open an xterm.<br><br />
Move to the directory where the source is located by typing:<br><br />
<code>cd /sw/src/bluefish-2003-10-16/bluefish-gtk2/</code><br><br />
Launch gdb with: <code>gdb src/bluefish</code><br><br />
Then see details on [[DebuggingBluefish]] from Type r to start</div>Christian