Damn, just over 5 minutes in we have a working live demo that you can also try. You attach gdb to a running process, in this case a GUI clock called xclock.<p>The video I linked to above is a great compliment to the linked article.