[Idle-dev] CVS: idle Debugger.py,1.15,1.16
Kurt B. Kaiser
kbk@users.sourceforge.net
Sun, 01 Dec 2002 20:41:32 -0800
Update of /cvsroot/idlefork/idle
In directory sc8-pr-cvs1:/tmp/cvs-serv23940
Modified Files:
Debugger.py
Log Message:
Fix beep.
Then remove annoying beep, not needed with breakpoint highlighting.
Index: Debugger.py
===================================================================
RCS file: /cvsroot/idlefork/idle/Debugger.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** Debugger.py 4 Nov 2002 23:39:45 -0000 1.15
--- Debugger.py 2 Dec 2002 04:41:29 -0000 1.16
***************
*** 125,129 ****
if not self.vsource:
self.__class__.vsource = BooleanVar(top)
- ##self.vsource.set(1)
self.bsource = Checkbutton(cframe,
text="Source", command=self.show_source, variable=self.vsource)
--- 125,128 ----
***************
*** 137,141 ****
if not self.vglobals:
self.__class__.vglobals = BooleanVar(top)
- ##self.vglobals.set(1)
self.bglobals = Checkbutton(cframe,
text="Globals", command=self.show_globals, variable=self.vglobals)
--- 136,139 ----
***************
*** 308,327 ****
def set_breakpoint_here(self, filename, lineno):
! msg = self.idb.set_break(filename, lineno)
! if msg:
! text.bell()
! return
def clear_breakpoint_here(self, filename, lineno):
! msg = self.idb.clear_break(filename, lineno)
! if msg:
! text.bell()
! return
def clear_file_breaks(self, filename):
! msg = self.idb.clear_all_file_breaks(filename)
! if msg:
! text.bell()
! return
def load_breakpoints(self):
--- 306,316 ----
def set_breakpoint_here(self, filename, lineno):
! self.idb.set_break(filename, lineno)
def clear_breakpoint_here(self, filename, lineno):
! self.idb.clear_break(filename, lineno)
def clear_file_breaks(self, filename):
! self.idb.clear_all_file_breaks(filename)
def load_breakpoints(self):
***************
*** 469,476 ****
l = Label(subframe, text=name)
l.grid(row=row, column=0, sticky="nw")
- ## l = Label(subframe, text=svalue, justify="l", wraplength=300)
l = Entry(subframe, width=0, borderwidth=0)
l.insert(0, svalue)
- ## l["state"] = "disabled"
l.grid(row=row, column=1, sticky="nw")
row = row+1
--- 458,463 ----