/usr/share/doc/libdbus-java/dbus-java/dbus-javase11.html is in libdbus-java-doc 2.8-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | <?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->
<html xmlns="http://www.w3.org/1999/xhtml"
>
<head><title>Debugging</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" />
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" />
<!-- xhtml,2,html -->
<meta name="src" content="dbus-java.tex" />
<meta name="date" content="2015-02-13 22:35:00" />
<link rel="stylesheet" type="text/css" href="dbus-java.css" />
</head><body
>
<!--l. 891--><div class="crosslinks"><p class="noindent">[<a
href="dbus-javase10.html" >prev</a>] [<a
href="dbus-javase10.html#taildbus-javase10.html" >prev-tail</a>] [<a
href="#taildbus-javase11.html">tail</a>] [<a
href="dbus-java.html# " >up</a>] </p></div>
<h3 class="sectionHead"><span class="titlemark">11 </span> <a
id="x35-3700011"></a>Debugging</h3>
<!--l. 893--><p class="noindent" >It is possible to enable debugging in the library. This will be a lot slower, but can print a lot of
useful information for debugging your program.
</p><!--l. 896--><p class="indent" > To enable a debug build compile with <span
class="cmtt-12">DEBUG=enable</span>. This will then need to be enabled at
runtime by using the debug jar with debugging enabled (usually installed as debug-enable.jar
alongside the normal jar).
</p><!--l. 900--><p class="indent" > Running a program which uses this library will print some informative messages. More
verbose debug information can be got by supplying a custom debug configuration file. This
should be placed in the file <span
class="cmtt-12">debug.conf </span>and has the format:
</p>
<div class="verbatim" id="verbatim-27">
classname = LEVEL
</div>
<!--l. 907--><p class="nopar" >
</p><!--l. 909--><p class="indent" > Where <span
class="cmtt-12">classname </span>is either the special word <span
class="cmtt-12">ALL </span>or a full class name like
<span
class="cmtt-12">org.freedesktop.dbus </span>and <span
class="cmtt-12">LEVEL </span>is one of <span
class="cmtt-12">NONE</span>, <span
class="cmtt-12">CRIT</span>, <span
class="cmtt-12">ERR</span>, <span
class="cmtt-12">WARN</span>, <span
class="cmtt-12">INFO</span>, <span
class="cmtt-12">DEBUG</span>, <span
class="cmtt-12">VERBOSE</span>,
<span
class="cmtt-12">YES</span>, <span
class="cmtt-12">ALL </span>or <span
class="cmtt-12">TRUE</span>. This will set the debug level for a particular class. Any messages from
that class at that level or higher will be printed. Verbose debugging is extremely
verbose.
</p><!--l. 916--><p class="indent" > In addition, setting the environment variable <span
class="cmtt-12">DBUS</span><span
class="cmtt-12">_JAVA</span><span
class="cmtt-12">_EXCEPTION</span><span
class="cmtt-12">_DEBUG </span>will
cause all exceptions which are handled internally to have their stack trace printed
when they are handled. This will happen unless debugging has been disabled for that
class.
</p>
<!--l. 921--><div class="crosslinks"><p class="noindent">[<a
href="dbus-javase10.html" >prev</a>] [<a
href="dbus-javase10.html#taildbus-javase10.html" >prev-tail</a>] [<a
href="dbus-javase11.html" >front</a>] [<a
href="dbus-java.html# " >up</a>] </p></div>
<!--l. 921--><p class="indent" > <a
id="taildbus-javase11.html"></a> </p>
</body></html>
|