beta@vaiolin:/home/elmarco/cvs/gnome2/dbus-glib/dbus/examples$ dbus-daemon --version D-BUS Message Bus Daemon 0.92 Copyright (C) 2002, 2003 Red Hat, Inc., CodeFactory AB, and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. beta@vaiolin:/home/elmarco/cvs/gnome2/dbus-glib/dbus/examples$ dbus-monitor & [1] 31176 beta@vaiolin:/home/elmarco/cvs/gnome2/dbus-glib/dbus/examples$ signal sender=org.freedesktop.DBus -> dest=:1.22 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.22" method call sender=:1.22 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='method_call'" method call sender=:1.22 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='method_return'" method call sender=:1.22 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='error'" beta@vaiolin:/home/elmarco/cvs/gnome2/dbus-glib/dbus/examples$ gdb .libs/ example-client example-signal-emitter lt-example-client example-service example-signal-recipient lt-example-service beta@vaiolin:/home/elmarco/cvs/gnome2/dbus-glib/dbus/examples$ gdb .libs/example-service GNU gdb 6.4-debian Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) b cb_1 Breakpoint 1 at 0x80490ca: file example-service.c, line 109. (gdb) r Starting program: /home/elmarco/cvs/gnome2/dbus-glib/dbus/examples/.libs/example-service signal sender=org.freedesktop.DBus -> dest=(null destination) path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged string ":1.23" string "" string ":1.23" method call sender=:1.23 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello method call sender=:1.23 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch service running string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged'" method call sender=:1.23 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus'" method call sender=:1.23 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.freedesktop.DBus" signal sender=org.freedesktop.DBus -> dest=(null destination) path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged string "org.designfu.SampleService" string "" string ":1.23" method call sender=:1.23 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RequestName string "org.designfu.SampleService" uint32 0 Breakpoint 1, cb_1 (data=0x8050090) at example-service.c:109 109 obj = SOME_OBJECT (data); (gdb) n 110 g_object_unref (obj); (gdb) 112 } (gdb) g_timeout_dispatch (source=0x8053f00, callback=0x80490c4 , user_data=0x0) at gmain.c:3431 3431 } (gdb) IA__g_main_context_dispatch (context=0x8050200) at gmain.c:2046 2046 current->source = g_slist_remove (current->source, source); (gdb) c Continuing. Program received signal SIGINT, Interrupt. 0xffffe410 in __kernel_vsyscall () (gdb) k Kill the program being debugged? (y or n) y (gdb) signal sender=org.freedesktop.DBus -> dest=(null destination) path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged string "org.designfu.SampleService" string ":1.23" string "" signal sender=org.freedesktop.DBus -> dest=(null destination) path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged string ":1.23" string ":1.23" string "" signal sender=org.freedesktop.DBus -> dest=(null destination) path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged string ":1.16" string ":1.16" string "" (gdb)