From d8c74d8ba90b7791526d301eccc8fa458f4aeb91 Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Wed, 8 Sep 1999 23:45:05 +0000 Subject: suspend/resume around debug --- text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'text.py') diff --git a/text.py b/text.py index 43d0378f8..69f280a90 100644 --- a/text.py +++ b/text.py @@ -1067,7 +1067,6 @@ class LiloWindow: locations.append (format % (boothd, "Master Boot Record (MBR)")) locations.append (format % (bootpart, "First sector of boot partition")) - # XXX fixme restore state (rc, sel) = ListboxChoiceWindow (screen, _("LILO Configuration"), _("Where do you want to install the bootloader?"), locations, default = default, @@ -1699,6 +1698,7 @@ def killSelf(screen): os._exit(0) def debugSelf(screen): - screen.finish () + screen.suspend () import pdb pdb.set_trace() + screen.resume () -- cgit