mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Details for debugger interface.
This commit is contained in:
parent
3fb3515303
commit
adfe773d2c
1 changed files with 1 additions and 3 deletions
|
@ -270,10 +270,8 @@ class PyShell(PyShellEditorWindow):
|
||||||
def open_debugger(self):
|
def open_debugger(self):
|
||||||
import Debugger
|
import Debugger
|
||||||
self.interp.setdebugger(Debugger.Debugger(self))
|
self.interp.setdebugger(Debugger.Debugger(self))
|
||||||
sys.ps1 = "[DEBUG ON]>>> "
|
sys.ps1 = "[DEBUG ON]\n>>> "
|
||||||
self.showprompt()
|
self.showprompt()
|
||||||
self.top.tkraise()
|
|
||||||
self.text.focus_set()
|
|
||||||
|
|
||||||
def beginexecuting(self):
|
def beginexecuting(self):
|
||||||
# Helper for ModifiedInterpreter
|
# Helper for ModifiedInterpreter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue