Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
491427df
Commit
491427df
authored
Dec 02, 2002
by
Kurt B. Kaiser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix beep.
Then remove annoying beep, not needed with breakpoint highlighting.
parent
ae6bf4ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
16 deletions
+3
-16
Lib/idlelib/Debugger.py
Lib/idlelib/Debugger.py
+3
-16
No files found.
Lib/idlelib/Debugger.py
View file @
491427df
...
...
@@ -124,7 +124,6 @@ class Debugger:
self
.
bstack
.
grid
(
row
=
0
,
column
=
0
)
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
)
self
.
bsource
.
grid
(
row
=
0
,
column
=
1
)
...
...
@@ -136,7 +135,6 @@ class Debugger:
self
.
blocals
.
grid
(
row
=
1
,
column
=
0
)
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
)
self
.
bglobals
.
grid
(
row
=
1
,
column
=
1
)
...
...
@@ -307,22 +305,13 @@ class Debugger:
gv
.
load_dict
(
gdict
,
force
,
self
.
pyshell
.
interp
.
rpcclt
)
def
set_breakpoint_here
(
self
,
filename
,
lineno
):
msg
=
self
.
idb
.
set_break
(
filename
,
lineno
)
if
msg
:
text
.
bell
()
return
self
.
idb
.
set_break
(
filename
,
lineno
)
def
clear_breakpoint_here
(
self
,
filename
,
lineno
):
msg
=
self
.
idb
.
clear_break
(
filename
,
lineno
)
if
msg
:
text
.
bell
()
return
self
.
idb
.
clear_break
(
filename
,
lineno
)
def
clear_file_breaks
(
self
,
filename
):
msg
=
self
.
idb
.
clear_all_file_breaks
(
filename
)
if
msg
:
text
.
bell
()
return
self
.
idb
.
clear_all_file_breaks
(
filename
)
def
load_breakpoints
(
self
):
"Load PyShellEditorWindow breakpoints into subprocess debugger"
...
...
@@ -468,10 +457,8 @@ class NamespaceViewer:
svalue
=
svalue
[
1
:
-
1
]
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
self
.
dict
=
dict
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment