/opt/imh/python3.13/lib/python3.13/idlelib/__pycache__
Edit: /opt/imh/python3.13/lib/python3.13/idlelib/__pycache__/debugger.cpython-313.pyc (28515B)
eR S r SSKrSSKrSSK7 SSKJrJr SSKJr SSK J
r
SSKJr " S S \R 5 rS
rS r " S S
5 r " S S\
5 r " S S5 r\S:X a SSKJr \" SSSS9 gg)a Debug user code with a GUI interface to a subclass of bdb.Bdb.
The Idb instance 'idb' and Debugger instance 'gui' need references to each
other or to an rpc proxy for each other.
If IDLE is started with '-n', so that user code and idb both run in the
IDLE process, Debugger is called without an idb. Debugger.__init__
calls Idb with its incomplete self. Idb.__init__ stores gui and gui
then stores idb.
If IDLE is started normally, so that user code executes in a separate
process, debugger_r.start_remote_debugger is called, executing in the
IDLE process. It calls 'start the debugger' in the remote process,
which calls Idb with a gui proxy. Then Debugger is called in the IDLE
for more.
N)*)Frame Scrollbar)macosx)ScrolledList)ListedToplevelc 8 ^ \ rS rSrSrU 4S jrS rS rSrU =r $ )Idb z6Supply user_line and user_exception functions for Bdb.c . > Xl [ TU ] 5 g N)guisuper__init__)selfr __class__s 6/opt/imh/python3.13/lib/python3.13/idlelib/debugger.pyr Idb.__init__ s
c [ U5 ( a U R 5 g[ U5 n U R R X!5 g! [
a gf = f)z]Handle a user stopping or breaking at a line.
Convert frame to a string and send it to gui.
N)_in_rpc_codeset_step_frame2messager interactionTclError)r framemessages r user_line
Idb.user_line$ sN
MMO ' HH 0 s A
AAc [ U5 ( a U R 5 g[ U5 nU R R X1U5 g)z)Handle an the occurrence of an exception.N)r r r r r )r r exc_infor s r user_exceptionIdb.user_exception2 s7 MMO 'WX6r )r )
__name__
__module____qualname____firstlineno____doc__r r r" __static_attributes__
__classcell__)r s @r r
r
s <7 7r r
c U R R R S5 ( a gU R nUc gUR R nSU; a SU; a g[ U5 $ )z)Determine if debugger is within RPC code.zrpc.pyTFidlelibdebugger)f_codeco_filenamecountf_backr )r
prev_frame prev_names r r r : sb ||%%h//\\
%%11 !jI&= J''r c U R nUR nU R n[ R R U5 nU SU 3nUR S:w a U SUR S3nU$ )z"Return a message string for frame.:?: z())r. r/ f_linenoospathbasenameco_name)r codefilenamelinenor; r s r r r I sj <