summaryrefslogtreecommitdiffstats
path: root/doc/src/introtodbus.qdoc
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-06-11 15:59:28 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-06-11 15:59:28 (GMT)
commit17f573ed026f0790cc305a407e69bb1e9a424e41 (patch)
treed0bb4824f6c38f6257230cdb144862c3d0b0d30d /doc/src/introtodbus.qdoc
parentdc802d17d998b62546de0a9725535202d7cbf9e4 (diff)
downloadQt-17f573ed026f0790cc305a407e69bb1e9a424e41.zip
Qt-17f573ed026f0790cc305a407e69bb1e9a424e41.tar.gz
Qt-17f573ed026f0790cc305a407e69bb1e9a424e41.tar.bz2
Doc: Added information about QDBUS_DEBUG to the D-Bus documentation.
Task-number: 253715 Reviewed-by: Trust Me
Diffstat (limited to 'doc/src/introtodbus.qdoc')
-rw-r--r--doc/src/introtodbus.qdoc19
1 files changed, 18 insertions, 1 deletions
diff --git a/doc/src/introtodbus.qdoc b/doc/src/introtodbus.qdoc
index 71c65d5..1edc6eb 100644
--- a/doc/src/introtodbus.qdoc
+++ b/doc/src/introtodbus.qdoc
@@ -198,7 +198,24 @@
\row \o Interface \o Plugin identifier \o Dot-separated
\endtable
- \section2 Further Reading
+ \section1 Debugging
+
+ When developing applications that use D-Bus, it is sometimes useful to be able
+ to see information about the messages that are sent and received across the
+ bus by each application.
+
+ This feature can be enabled on a per-application basis by setting the
+ \c QDBUS_DEBUG environment variable before running each application.
+ For example, we can enable debugging only for the car in the
+ \l{Remote Controlled Car Example} by running the controller and the
+ car in the following way:
+
+ \snippet doc/src/snippets/code/doc_src_introtodbus.qdoc QDBUS_DEBUG
+
+ Information about the messages will be written to the console the application
+ was launched from.
+
+ \section1 Further Reading
The following documents contain information about Qt's D-Bus integration
features, and provide details about the mechanisms used to send and receive