gary@x360d:~$ gsettings get org.gnome.gnome-flashback display-config
true
gary@x360d:~$ sudo -i
[sudo] password for gary: 
root@x360d:~# echo -e "r\nbt full" | gdb gnome-flashback
GNU gdb (Ubuntu 7.12.50.20170314-0ubuntu1) 7.12.50.20170314-git
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gnome-flashback...Reading symbols from /usr/lib/debug/.build-id/58/bac083924208a0d4f2e793e8e988566631c2cd.debug...done.
done.
(gdb) Starting program: /usr/bin/gnome-flashback 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe7d81700 (LWP 2314)]
[New Thread 0x7fffe7580700 (LWP 2320)]
[New Thread 0x7fffe6d7f700 (LWP 2321)]
[New Thread 0x7fffe657e700 (LWP 2322)]
[New Thread 0x7fffe5756700 (LWP 2323)]

** (gnome-flashback:2310): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
[Thread 0x7fffe5756700 (LWP 2323) exited]
[Thread 0x7fffe7580700 (LWP 2320) exited]

^C <-- Ctrl-c after a few minutes. ----------------------------------------------------------------

Thread 1 "gnome-flashback" received signal SIGINT, Interrupt.
0x00007ffff31ea18d in poll () at ../sysdeps/unix/syscall-template.S:84
84	../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) #0  0x00007ffff31ea18d in poll () at ../sysdeps/unix/syscall-template.S:84
No locals.
#1  0x00007ffff3a56576 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x00007ffff3a56902 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0x00005555555707e4 in main (argc=<optimized out>, argv=<optimized out>) at gf-main.c:163
        session = 0x555555a180a0
(gdb) quit
A debugging session is active.

	Inferior 1 [process 2310] will be killed.

Quit anyway? (y or n) [answered Y; input not from terminal]
root@x360d:~# 

