tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Z\¬Qc@s·ddlZddlZddlZddlTddlmZddlmZddlm    Z    dej
fd„ƒYZ dfd    „ƒYZ d
efd „ƒYZ d fd „ƒYZdS(iÿÿÿÿN(t*(tListedToplevel(t ScrolledList(t macosxSupporttIdbcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs||_tjj|ƒdS(N(tguitbdbtBdbt__init__(tselfR((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR s    cCsC|j|ƒr|jƒdS|j|ƒ}|jj||ƒdS(N(t in_rpc_codetset_stept_Idb__frame2messageRt interaction(R    tframetmessage((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyt    user_lines
 
cCsF|j|ƒr|jƒdS|j|ƒ}|jj|||ƒdS(N(R
R R RR (R    RtinfoR((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pytuser_exceptions
 
cCsL|jjjdƒrtS|j}|jjjdƒr;tS|j|ƒSdS(Nsrpc.pys Debugger.py(tf_codet co_filenametcounttTruetf_backtFalseR
(R    Rt
prev_frame((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR
s     cCsf|j}|j}|j}tjj|ƒ}d||f}|jdkrbd||jf}n|S(Ns%s:%st?s%s: %s()(RRtf_linenotostpathtbasenametco_name(R    RtcodetfilenametlinenoRR((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyt__frame2message(s            (t__name__t
__module__RRRR
R (((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR
s
                
tDebuggercBsþeZdZZZZdd„Zd„Zdd„Z    d„Z
dd„Z d„Z d„Z d„Zd„Zd    „Zd
„Zd „ZdZd „Zd „Zd„ZdZdZd„Zd„Zdd„Zd„Zd„Zd„Zd„ZRS(cCsM|dkrt|ƒ}n||_||_d|_|jƒd|_dS(Ni(tNoneRtpyshelltidbRtmake_guit interacting(R    R(R)((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR7s             
cGs.zd|_|jj|ŒSWdd|_XdS(Nii(R+R)trun(R    targs((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR,@s    cCsZ|jr|jjƒdS|jr<|jjƒd|_n|jjƒ|jjƒdS(N(    R+ttoptbellt stackviewertcloseR'R(tclose_debuggertdestroy(R    tevent((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR1Gs           cCsÕ|j}|j|_|j|_}t|ƒ|_}|jjdƒ|jjdƒ|jd|jƒ|jj    d|jƒt
|ƒ|_ }|j j ddƒg|_ }t|ddd    |jƒ|_}|j|ƒt|dd
d    |jƒ|_}|j|ƒt|dd d    |jƒ|_}|j|ƒt|dd d    |jƒ|_}|j|ƒt|dd d    |jƒ|_}|j|ƒx.|D]&}|jddƒ|j ddƒq¦Wt
|ƒ|_}|jj ddƒ|js$t|ƒ|j_|jjdƒnt|ddd    |j d|jƒ|_!|j!j"ddddƒ|j#s‚t|ƒ|j_#nt|ddd    |j$d|j#ƒ|_%|j%j"ddddƒ|j&sðt|ƒ|j_&|j&jdƒnt|ddd    |j'd|j&ƒ|_(|j(j"ddddƒ|j)sNt|ƒ|j_)nt|ddd    |j*d|j)ƒ|_+|j+j"ddddƒt,|ddƒ|_-|j-j ddƒt,|ddƒ|_.|j.j ddddƒ|j.j/dƒ|_0t
|ddƒ|_1|j1j dddd ƒt
|ƒ|_2|j2j dddd ƒt
|ddƒ|_3|j3j dddd ƒ|jj4ƒr™|j ƒn|j&j4ƒrµ|j'ƒn|j)j4ƒrÑ|j*ƒndS(!Ns Debug ControltDebugtWM_DELETE_WINDOWs<Escape>tanchortwttexttGotcommandtSteptOvertOuttQuittstatetdisabledtsidetleftitStacktvariabletrowitcolumntSourcetLocalstGlobalstfilltxt
backgroundtheighttexpandtboth(5R(tflisttrootRR.twm_titlet wm_iconnamet wm_protocolR1tbindtFrametbframetpacktbuttonstButtontconttbconttappendtsteptbsteptnexttbnexttrettbrettquitt    configuretcframetvstackt
BooleanVart    __class__tsett Checkbuttont
show_stacktbstacktgridtvsourcet show_sourcetbsourcetvlocalst show_localstblocalstvglobalst show_globalstbglobalstLabeltstatusterrortcgetterrorbgtfstacktflocalstfglobalstget(R    R(RRR.RXtbltbRg((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR*Ts‚      " " " " "                                    c CsÓ||_|jjd|ƒ|rž|\}}}y |j}Wn!tk
radt|ƒ}nX|dk    r•yd|t|ƒf}Wq•q•Xnd}nd}d}|j}|jjd|d|ƒ|j    }    |    r |j
j |j|ƒ\}
} |    j |
| ƒn|j dƒ|jjƒr5|jƒnx!|jD]} | jdd    ƒq?W|jjƒ|jjƒx!|jD]} | jdd
ƒq}W|jjddƒ|jjddd|jƒd|_dS( NR9s%ss%s: %styellowtRMiR@tnormalRA(RRzRfR$tAttributeErrortstrR'R}R{R0R)t    get_stackt
load_stacktshow_variablesRpRtsync_source_lineRZR.twakeupRRtmainloop( R    RRRttypetvaluettbtm1tbgtsvtstacktiRƒ((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR ŸsD                       cCsl|j}|sdS|j|ƒ\}}|d |ddkrhtjj|ƒrh|jj||ƒndS(Niiÿÿÿÿs<>(Rt_Debugger__frame2filelineRRtexistsRQt gotofileline(R    RR!R"((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyRŒËs     *cCs%|j}|j}|j}||fS(N(RRR(R    RR R!R"((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyt__frame2filelineÓs            cCs|jjƒ|jjƒdS(N(R)t set_continueRRRe(R    ((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR\Ùs cCs|jjƒ|jjƒdS(N(R)R RRRe(R    ((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR_Ýs cCs$|jj|jƒ|jjƒdS(N(R)tset_nextRRRRe(R    ((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyRaáscCs$|jj|jƒ|jjƒdS(N(R)t
set_returnRRRRe(R    ((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyRcåscCs|jjƒ|jjƒdS(N(R)tset_quitRRRe(R    ((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyReés cCs»|j ru|jjƒrut|j|j|ƒ|_}|jr·|jj|jdƒ\}}|j
||ƒq·nB|j}|rª|jjƒ rªd|_|j ƒnd|jd<dS(NiRN( R0RhRt StackViewerR~RQRR)R‰R'RŠR1(R    R”R•R–((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyRmïs             cCs |jjƒr|jƒndS(N(RpRRŒ(R    ((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyRqüscCs#|\}}||_|jƒdS(N(RR‹(R    t.1RR"((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyt
show_frames        cCsp|j}|jjƒr9|sbt|jdƒ|_qbn)|rbd|_|jƒd|jd<n|jƒdS(NRIiRN(t localsviewerRsRtNamespaceViewerRR'R1R‹(R    tlv((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyRts        
cCsp|j}|jjƒr9|sbt|jdƒ|_qbn)|rbd|_|jƒd|jd<n|jƒdS(NRJiRN(t globalsviewerRvRR£R€R'R1R‹(R    tgv((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyRws        
icCs¯|j}|j}|j}|s.d}}n3|j}|j}|ra|ra||krad}n|r†|j|||jjj    ƒn|r«|j|||jjj    ƒndS(N(
R¢R¥RR'tf_localst    f_globalst    load_dictR(tinterptrpcclt(R    tforceR¤R¦Rtldicttgdict((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR‹s                         cCs|jj||ƒdS(N(R)t    set_break(R    R!R"((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pytset_breakpoint_here/scCs|jj||ƒdS(N(R)t clear_break(R    R!R"((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pytclear_breakpoint_here2scCs|jj|ƒdS(N(R)tclear_all_file_breaks(R    R!((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pytclear_file_breaks5scCsu|jjjjƒ}xY|D]Q}|jj}y(x!|jD]}|j||ƒq;WWqtk
rlqqXqWdS(s=Load PyShellEditorWindow breakpoints into subprocess debuggerN(    R(RQt inversedicttkeystioR!t breakpointsR°R‡(R    tpyshell_edit_windowsteditwinR!R"((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pytload_breakpoints8s   N( R$R%R'RhRpRsRvRR,R1R*R RŒR—R\R_RaRcReR0RmRqR¡R¢R¥RtRwR‹R°R²R´R»(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR&3s4            K ,                                                             RŸcBs\eZd„Zd    d„Zd„Zd„Zd„Zd„Zd„Z    d„Z
d„Z RS(
cCsTtjƒrtj||ƒntj||ddƒ||_||_g|_dS(NtwidthiP(RtrunningAsOSXAppRRRQRR•(R    tmasterRQR((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyREs          cCs3||_|jƒxýtt|ƒƒD]é}||\}}y|jd}Wn d}nX|j}|j}|j}    ddl}
|
j    ||ƒ} ddl
} | j | ƒ} |    dkrÓd||| f} nd||    || f} ||krd| } n|j | ƒq&W|dk    r/|j|ƒndS(    NR$RiÿÿÿÿR…s%s, line %d: %ss%s.%s(), line %d: %ss> (RR…N(R•tcleartrangetlenR¨RRRt    linecachetgetlinetstringtstripR'R^tselect(R    R•tindexR–RR"tmodnameR R!tfuncnameRÂt
sourcelineRÄtitem((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyRŠQs0    
 
                       cCs|jrtj||ƒSdS(soverride base methodN(R•Rt popup_event(R    R4((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyRÌls    cCs?|j}|jddd|jƒ|jddd|jƒdS(soverride base methodtlabelsGo to source lineR;sShow stack frameN(tmenut add_commandtgoto_source_linetshow_stack_frame(R    RÎ((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyt    fill_menuqs
    
cCsCd|ko t|jƒknr?|jj|j|ƒndS(soverride base methodiN(RÁR•RR¡(R    RÇ((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyt    on_selectys%cCs|j|ƒdS(soverride base methodN(Rq(R    RÇ((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyt    on_double~scCs#|jjdƒ}|j|ƒdS(Ntactive(tlistboxRÇRq(R    RÇ((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyRЂscCsU|jjdƒ}d|ko2t|jƒknrQ|jj|j|ƒndS(NRÕi(RÖRÇRÁR•RR¡(R    RÇ((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyRцs%cCsd|ko t|jƒkns)dS|j|\}}|j}|j}tjj|ƒr‹|jj|ƒ}|r‹|j    |ƒq‹ndS(Ni(
RÁR•RRRRtisfileRQtopentgotoline(R    RÇRR"R R!tedit((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyRq‹s%        N( R$R%RR'RŠRÌRÒRÓRÔRÐRÑRq(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyRŸCs                             R£cBs2eZdd„ZdZddd„Zd„ZRS(c    Cs±d}d}|r%dt|ƒ}n||_||_ddl}|jƒ|_d|j_d|j_t|ƒ|_}|jj    dddd    ƒt
|d
|d d d dƒ|_ |j j    ddƒt |ddƒ|_ }|j    ddddƒt|dtdtd|ƒƒddd||fƒ|_}    |    j    dddd    ddƒ|    j|d<|j|    d<t|    ƒ|_}
|    jddd|
ddƒ|_|j|ƒdS(Nii(iiÿÿÿÿi<ROiRKRPR9t borderwidthitrelieftgrooveRLtnametvbarRBtrighttyRNi,t scrollregionRCR;tyscrollcommandtwindowR7tnw(RÁR¾ttitletreprtReprt    maxstringtmaxotherRWRRYRyRÍt    ScrollbarRßtCanvastmintmaxtcanvastyviewRktsubframet create_windowtsfidR©( R    R¾RætdictR¼RNRçRRßRïRñ((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR™s2           !      !iÿÿÿÿic    Csù||jkr| rdS|j}|j}x!|jjƒD]}|jƒq<Wd|_|sŠt|ddƒ}|jddddƒnÛ|j    ƒ}|j
ƒd}    x¼|D]´}
||
} |j j | ƒ} |rå| dd!} nt|d|
ƒ}|jd|    dddd    ƒt |d
dd dƒ}|j d| ƒ|jd|    dddd    ƒ|    d}    q­W||_|jƒ|jƒ} |jƒ}|j}dd| |f|jd <|d krÛd |d<|jddƒn||d<|jddƒdS(NR9R'RFiRGiiÿÿÿÿtstickyRåR¼RÛRâi,RNRO(RôRñRtchildrentvaluesR3R'RyRoR¶tsortRçtEntrytinserttupdate_idletaskstwinfo_reqwidthtwinfo_reqheightRïRY(R    RôR¬t
rpc_clientRñRtctltnamesRFRÞRtsvalueR¼RNRï((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR©¶sF             
 
    
       
 
cCs|jjƒdS(N(RR3(R    ((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR1àsN(R$R%R'RRôR©R1(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyR£—s *(RRttypestTkintertidlelib.WindowListRtidlelib.ScrolledListRtidlelibRRRR&RŸR£(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/Debugger.pyt<module>s   
)ÿT