<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bfwiki.tellefsen.net//index.php?action=history&amp;feed=atom&amp;title=Man_1_ch10</id>
	<title>Man 1 ch10 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://bfwiki.tellefsen.net//index.php?action=history&amp;feed=atom&amp;title=Man_1_ch10"/>
	<link rel="alternate" type="text/html" href="https://bfwiki.tellefsen.net//index.php?title=Man_1_ch10&amp;action=history"/>
	<updated>2026-05-23T18:55:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://bfwiki.tellefsen.net//index.php?title=Man_1_ch10&amp;diff=200&amp;oldid=prev</id>
		<title>Fal7i: Created page with &#039;__NOTOC__ __NOEDITSECTION__ {{Man1top |lang=en |rev=1.0.6 |Title=Chapter&amp;nbsp;X.&amp;nbsp;Debugging Bluefish |prev=Man 1 pt03 |Subtitle=Part&amp;nbsp;3.&amp;nbsp;Developing Bluefish |next=Ma…&#039;</title>
		<link rel="alternate" type="text/html" href="https://bfwiki.tellefsen.net//index.php?title=Man_1_ch10&amp;diff=200&amp;oldid=prev"/>
		<updated>2009-08-19T14:48:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;__NOTOC__ __NOEDITSECTION__ {{Man1top |lang=en |rev=1.0.6 |Title=Chapter X. Debugging Bluefish |prev=Man 1 pt03 |Subtitle=Part 3. Developing Bluefish |next=Ma…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
{{Man1top&lt;br /&gt;
|lang=en&lt;br /&gt;
|rev=1.0.6&lt;br /&gt;
|Title=Chapter&amp;amp;nbsp;X.&amp;amp;nbsp;Debugging Bluefish&lt;br /&gt;
|prev=Man 1 pt03&lt;br /&gt;
|Subtitle=Part&amp;amp;nbsp;3.&amp;amp;nbsp;Developing Bluefish&lt;br /&gt;
|next=Man 1 ch10s02&lt;br /&gt;
}}&lt;br /&gt;
== Chapter X. Debugging Bluefish ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; background-color:#E5ECF9;border:1px solid #3061C2;&amp;quot;&amp;gt;&lt;br /&gt;
*[[#1. Using the Debugger|1. Using the Debugger]] &lt;br /&gt;
*[[Man 1 ch10s02|2. Filling a bug report]] &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
== 1. Using the Debugger ==&lt;br /&gt;
Here are the detailed steps for sending a useful backtrace to the Bluefish Developer Team.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Procedure&amp;amp;nbsp;X.1.&amp;amp;nbsp;Running bluefish under gdb&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
# Get the latest SVN release (see [[Man 1 ch01s04|Section 4, “Latest Developmental Version”]] for info)&lt;br /&gt;
# From bluefish, the top directory of the bluefish source, run: &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; You may have to set some environment variables before running &amp;#039;&amp;#039;&amp;#039;autoconf&amp;#039;&amp;#039;&amp;#039;, as well as providing autoconf with some flags. Also, some patches may need to be applied, depending on your system.&lt;br /&gt;
# Then, run &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;./configure --with-debugging-output&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; Again, you may have to add some flags, depending on your system.&lt;br /&gt;
# Once you succeed in configuring bluefish, run: &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;make clean&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; in order to remove all unnecessary files.&lt;br /&gt;
# Then, run &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; to compile bluefish.&amp;lt;br/&amp;gt; Do not run make install since it strips the debugging symbols from the executable.&lt;br /&gt;
# Execute bluefish under gdb with: &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;gdb src/bluefish&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;. This way, you will get access to a non stripped version of bluefish, which is not the case if you run &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;gdb bluefish&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; or &amp;#039;&amp;#039;&amp;#039;gdb /usr/local/bin/bluefish&amp;#039;&amp;#039;&amp;#039;, since those binaries do not have any debugging symbols anymore.&lt;br /&gt;
# Once &amp;#039;&amp;#039;&amp;#039;gdb&amp;#039;&amp;#039;&amp;#039; has started, type &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; to start the debugging session.&lt;br /&gt;
# Try to reproduce the crash in bluefish.&lt;br /&gt;
# Copy and paste the last 50 lines of debugging output to a text file.&lt;br /&gt;
# Type &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;bt&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; in gdb to get the backtrace, and copy it to the text file too. If the backtrace is huge, copy only the first 50 lines.&lt;br /&gt;
# Save the text file and gzip it by running gzip textfile in a terminal.&lt;br /&gt;
# Quit gdb with &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;q&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Fill in the bug report (see [[Man 1 ch10s02|Section 2, “Filling a bug report”]] for instructions).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Man1bottom&lt;br /&gt;
|prev=Man 1 pt03&lt;br /&gt;
|up=Man 1 pt03&lt;br /&gt;
|next=Man 1 ch10s02&lt;br /&gt;
|prevname= Part&amp;amp;nbsp;3.&amp;amp;nbsp;Developing Bluefish&lt;br /&gt;
|nextname=2.&amp;amp;nbsp;Filling a bug report&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Fal7i</name></author>
	</entry>
</feed>