[PATCH 3/3] Display the hint how to quit the debugger

Vratislav Podzimek vpodzime at redhat.com
Tue Jul 17 14:30:34 UTC 2012


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

diff --git a/pyanaconda/exception.py b/pyanaconda/exception.py
index 6e93e42..b8529e0 100644
--- a/pyanaconda/exception.py
+++ b/pyanaconda/exception.py
@@ -96,6 +96,8 @@ class AnacondaExceptionHandler(ExceptionHandler):
         termios.tcsetattr(si, termios.TCSADRAIN, attr)
 
         print("\nEntering debugger...")
+        print("Use 'continue' command to quit the debugger and get back to "\
+              "the main window")
         import pdb
         pdb.post_mortem (tb)
         try:
-- 
1.7.4.4



More information about the anaconda-patches mailing list