diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2002-12-31 16:03:23 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2002-12-31 16:03:23 (GMT) |
commit | 6655e4bc2752f1114a2e1f9a63ffd4191fa50d0d (patch) | |
tree | 94c162d82dacd500b7e59403255c8af854b38f51 /Lib/idlelib/Debugger.py | |
parent | 9532298c82d8384a6c469136ac87842990ec10dd (diff) | |
download | cpython-6655e4bc2752f1114a2e1f9a63ffd4191fa50d0d.zip cpython-6655e4bc2752f1114a2e1f9a63ffd4191fa50d0d.tar.gz cpython-6655e4bc2752f1114a2e1f9a63ffd4191fa50d0d.tar.bz2 |
Whitespace Normalization
Diffstat (limited to 'Lib/idlelib/Debugger.py')
-rw-r--r-- | Lib/idlelib/Debugger.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/idlelib/Debugger.py b/Lib/idlelib/Debugger.py index 30d0002..3ad6a83 100644 --- a/Lib/idlelib/Debugger.py +++ b/Lib/idlelib/Debugger.py @@ -15,17 +15,17 @@ class Idb(bdb.Bdb): def user_line(self, frame): co_filename = frame.f_code.co_filename - co_name = frame.f_code.co_name + co_name = frame.f_code.co_name ## print>>sys.__stderr__, "*function: ", frame.f_code.co_name - ## print>>sys.__stderr__, "*file: ", frame.f_code.co_filename + ## print>>sys.__stderr__, "*file: ", frame.f_code.co_filename ## print>>sys.__stderr__, "*line number: ", frame.f_code.co_firstlineno ## print>>sys.__stderr__, "*name: ", co_name ## print>>sys.__stderr__, "*function: ", frame.f_locals.get(co_name,None) try: # XXX 12 Dec 2002 CGT TO DO: Find way to get a reference to the - # XXX currently running function. If the function has an + # XXX currently running function. If the function has an # attribute called "DebuggerStepThrough", prevent the debugger # from stepping through Idle code. The following doesn't work # in instance methods. Hard coded some workarounds. @@ -75,7 +75,7 @@ class Debugger: self.frame = None self.make_gui() self.interacting = 0 - + def run(self, *args): try: self.interacting = 1 |