File: libaccounts-running.xml

package info (click to toggle)
libaccounts-glib 1.27-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 944 kB
  • sloc: ansic: 11,312; xml: 1,175; python: 72; sh: 7; makefile: 7
file content (161 lines) | stat: -rw-r--r-- 4,437 bytes parent folder | download | duplicates (6)
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<?xml version="1.0"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
    "http://www.oasis-open.org/doxbook/xml/4.3/docbookx.dtd">

<chapter id="libaccounts-running">

<title>Running and debugging libaccounts-glib applications</title>

<para>
There are various debugging techniques available for applications which use
libaccounts-glib.
</para>

  <section>

  <title>Environment variables</title>

  <para>
  There are several environment variables which can aid in debugging
  libaccounts-glib applications by changing runtime behavior.
  </para>

  <variablelist>
  <title>Supported envionment variables</title>
    <varlistentry>
      <term>
      <varname>ACCOUNTS</varname>
      </term>
      <listitem>
        <para>
        Specifies the path to the accounts database. If this is unset, the
        database is stored in
        <filename class="directory">$XDG_CONFIG_HOME/libaccounts-glib</filename>,
        which normally expands to
        <filename class="directory">~/.config/libaccounts-glib</filename>.
        </para>
      </listitem>
    </varlistentry>
    <varlistentry>
      <term>
      <varname>AG_DEBUG</varname>
      </term>
      <listitem>
        <para>
        Can be set to a list of debug options, which causes libaccounts-glib to
        print different debug information.
        <variablelist>
        <title><varname>AG_DEBUG</varname> options</title>
          <varlistentry>
            <term>
            <literal>time</literal>
            </term>
            <listitem>
              <para>
              Print timing debug messages.
              </para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
            <literal>refs</literal>
            </term>
            <listitem>
              <para>
              Print reference-counting debug messages.
              </para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
            <literal>locks</literal>
            </term>
            <listitem>
              <para>
              Print locking debug messages.
              </para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
            <literal>queries</literal>
            </term>
            <listitem>
              <para>
              Print <acronym>SQL</acronym> query debug messages.
              </para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
            <literal>info</literal>
            </term>
            <listitem>
              <para>
              Print miscellaneous debug messages.
              </para>
            </listitem>
          </varlistentry>
        </variablelist>
        The special value <literal>all</literal> can be used to turn on all
        debug options.
        </para>
        <note>
          <para>
          In order for debug messages to be printed, libaccounts-glib must have
          been configured with the option <option>--enable-debug</option>.
          Additionally, GLib must be configured to print debug messages at the
          required debug level, for example with
          <varname>G_MESSAGES_DEBUG</varname> set to <literal>all</literal>.
          </para>
        </note>
      </listitem>
    </varlistentry>
    <varlistentry>
      <term>
      <varname>AG_APPLICATIONS</varname>
      </term>
      <listitem>
        <para>
        Specifies the path to search for
        <xref linkend="application-file-format"/>.
        </para>
      </listitem>
    </varlistentry>
    <varlistentry>
      <term>
      <varname>AG_PROVIDERS</varname>
      </term>
      <listitem>
        <para>
        Specifies the path to search for
        <xref linkend="provider-file-format"/>.
        </para>
      </listitem>
    </varlistentry>
    <varlistentry>
      <term>
      <varname>AG_SERVICES</varname>
      </term>
      <listitem>
        <para>
        Specifies the path to search for <xref linkend="service-file-format"/>.
        </para>
      </listitem>
    </varlistentry>
    <varlistentry>
      <term>
      <varname>AG_SERVICE_TYPES</varname>
      </term>
      <listitem>
        <para>
        Specifies the path to search for
        <xref linkend="service-type-file-format"/>.
        </para>
      </listitem>
    </varlistentry>
  </variablelist>

  </section>

</chapter>