~ubuntu-branches/ubuntu/precise/rhythmbox/precise-updates

« back to all changes in this revision

Viewing changes to doc/reference/html/rhythmbox-rb-debug.html

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-03-16 15:25:30 UTC
  • mfrom: (1.1.65)
  • Revision ID: package-import@ubuntu.com-20120316152530-98p47h1vrm3yn11r
Tags: 2.96-0ubuntu1
* New upstream version
* debian/patches/git_local_art_search_typo.patch:
  - git patch, fix a typo in the artsearch code
* debian/patches/git_magnatune_dialog_segfault.patch:
  - git patch, fix manatune dialg segfaulting
* git_ipod_no_private_source.patch,
  git_ipod_playlist_handler.patch:
  - git fixes for the ipod playlist handling code
* debian/patches/git_playlists_sync_segfault.patch:
  - git patch, fix segfault in the ipod playlists sync code 
    (lp: #869445)
* debian/rhythmbox.gconf-defaults:
  - dropped, rhythmbox stopped using gconf in favor of gsettings

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
<div class="refsynopsisdiv">
39
39
<a name="rhythmbox-rb-debug.synopsis"></a><h2>Synopsis</h2>
40
40
<pre class="synopsis">#define             <a class="link" href="rhythmbox-rb-debug.html#rb-debug" title="rb_debug()">rb_debug</a>                            (...)
41
 
<span class="returnvalue">void</span>                <a class="link" href="rhythmbox-rb-debug.html#rb-debug-init" title="rb_debug_init ()">rb_debug_init</a>                       (<em class="parameter"><code><span class="type">gboolean</span> debug</code></em>);
 
41
<span class="returnvalue">void</span>                <a class="link" href="rhythmbox-rb-debug.html#rb-debug-init" title="rb_debug_init ()">rb_debug_init</a>                       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> debug</code></em>);
42
42
<span class="returnvalue">void</span>                <a class="link" href="rhythmbox-rb-debug.html#rb-debug-init-match" title="rb_debug_init_match ()">rb_debug_init_match</a>                 (<em class="parameter"><code>const <span class="type">char</span> *match</code></em>);
43
 
<span class="returnvalue">gboolean</span>            <a class="link" href="rhythmbox-rb-debug.html#rb-debug-matches" title="rb_debug_matches ()">rb_debug_matches</a>                    (<em class="parameter"><code>const <span class="type">char</span> *func</code></em>,
 
43
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="rhythmbox-rb-debug.html#rb-debug-matches" title="rb_debug_matches ()">rb_debug_matches</a>                    (<em class="parameter"><code>const <span class="type">char</span> *func</code></em>,
44
44
                                                         <em class="parameter"><code>const <span class="type">char</span> *file</code></em>);
45
45
<span class="returnvalue">char</span> **             <a class="link" href="rhythmbox-rb-debug.html#rb-debug-get-args" title="rb_debug_get_args ()">rb_debug_get_args</a>                   (<em class="parameter"><code><span class="type">void</span></code></em>);
46
46
<span class="returnvalue">void</span>                <a class="link" href="rhythmbox-rb-debug.html#rb-debug-stop-in-debugger" title="rb_debug_stop_in_debugger ()">rb_debug_stop_in_debugger</a>           (<em class="parameter"><code><span class="type">void</span></code></em>);
64
64
<a name="rhythmbox-rb-debug.details"></a><h2>Details</h2>
65
65
<div class="refsect2">
66
66
<a name="rb-debug"></a><h3>rb_debug()</h3>
67
 
<pre class="programlisting">#define             rb_debug(...)</pre>
 
67
<pre class="programlisting">#define rb_debug(...) rb_debug_realf (__func__, __FILE__, __LINE__, TRUE, __VA_ARGS__)
 
68
</pre>
68
69
<p>
69
70
If the call site function or file name matches the current debug output
70
71
settings, the message will be formatted and printed to standard error,
76
77
<hr>
77
78
<div class="refsect2">
78
79
<a name="rb-debug-init"></a><h3>rb_debug_init ()</h3>
79
 
<pre class="programlisting"><span class="returnvalue">void</span>                rb_debug_init                       (<em class="parameter"><code><span class="type">gboolean</span> debug</code></em>);</pre>
 
80
<pre class="programlisting"><span class="returnvalue">void</span>                rb_debug_init                       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> debug</code></em>);</pre>
80
81
<p>
81
82
Sets up debug output, with either all debug enabled
82
83
or none.
113
114
<hr>
114
115
<div class="refsect2">
115
116
<a name="rb-debug-matches"></a><h3>rb_debug_matches ()</h3>
116
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            rb_debug_matches                    (<em class="parameter"><code>const <span class="type">char</span> *func</code></em>,
 
117
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_debug_matches                    (<em class="parameter"><code>const <span class="type">char</span> *func</code></em>,
117
118
                                                         <em class="parameter"><code>const <span class="type">char</span> *file</code></em>);</pre>
118
119
<p>
119
120
Checks if <em class="parameter"><code>file</code></em> or <em class="parameter"><code>func</code></em> matches the current debug output settings.
132
133
<tr>
133
134
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
134
135
<td>
135
 
<code class="literal">TRUE</code> if matched</td>
 
136
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if matched</td>
136
137
</tr>
137
138
</tbody>
138
139
</table></div>
150
151
<col align="left" valign="top">
151
152
<tbody><tr>
152
153
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
153
 
<td>debug output arguments, must be freed with #<code class="function">g_strfreev()</code>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
 
154
<td>debug output arguments, must be freed with #<a href="/usr/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
154
155
</td>
155
156
</tr></tbody>
156
157
</table></div>
168
169
<hr>
169
170
<div class="refsect2">
170
171
<a name="RBProfiler"></a><h3>RBProfiler</h3>
 
172
<pre class="programlisting">typedef struct RBProfiler RBProfiler;
 
173
</pre>
171
174
<p>
172
175
</p>
173
176
</div>
202
205
<hr>
203
206
<div class="refsect2">
204
207
<a name="rb-profile-start"></a><h3>rb_profile_start()</h3>
205
 
<pre class="programlisting">#define             rb_profile_start(msg)</pre>
 
208
<pre class="programlisting">#define rb_profile_start(msg) _rb_profile_log (__func__, __FILE__, __LINE__, RB_PROFILE_INDENTATION, "START", msg)
 
209
</pre>
206
210
<p>
207
211
Records a start point for profiling.
208
212
This profile mechanism operates by issuing file access
220
224
<hr>
221
225
<div class="refsect2">
222
226
<a name="rb-profile-end"></a><h3>rb_profile_end()</h3>
223
 
<pre class="programlisting">#define             rb_profile_end(msg)</pre>
 
227
<pre class="programlisting">#define rb_profile_end(msg)   _rb_profile_log (__func__, __FILE__, __LINE__, -RB_PROFILE_INDENTATION, "END", msg)
 
228
</pre>
224
229
<p>
225
230
Records an end point for profiling.  See <em class="parameter"><code>rb_profile_start</code></em>.
226
231
</p>