[PATCH 5/6] Display hint how to quit the debugger

Vratislav Podzimek vpodzime at redhat.com
Wed Jul 11 11:59:46 UTC 2012


People don't usually know that 'continue' command quits the debugger,
so let's display a little hint.
---
 meh/handler.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meh/handler.py b/meh/handler.py
index a4f6f1d..2a5bb76 100644
--- a/meh/handler.py
+++ b/meh/handler.py
@@ -185,6 +185,8 @@ class ExceptionHandler(object):
            be overridden by a subclass if specialized behavior is required to
            enter debug mode.
         """
+        print "Use 'continue' command to quit the debugger and get back to "\
+              "the main menu"
         import pdb
         pdb.post_mortem(tb)
         #no need to quit here, let's just get back to the main dialog
-- 
1.7.4.4



More information about the anaconda-patches mailing list