config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/pdb.pyo

hRc@shdZddkZddkZddkZddkZddklZddkZddkZddk	Z	ddk
Z
eZde_eiZ
ddddd	d
ddd
g	ZdZdZdeieifdYZeedZeedZdZdZdZdZdZdZdZdZdZe djoendS(sA Python debugger.iN(tRepritruntpmtPdbtrunevaltrunctxtruncallt	set_tracetpost_mortemthelpcCstid|}yt|}Wntj
odSnXd}d}xO|i}|djoPn|i|o|||f}Pn|d}qL|i|S(Nsdef\s+%s\s*[(]it(tretcompiletopentIOErrortNonetreadlinetmatchtclose(tfuncnametfilenametcretfptlinenotanswertline((s/usr/local/lib/python2.5/pdb.pyt
find_functions"	


s
-> cBseZddfdfdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZeiiZdZddZdZeZdZdZdZdZdZdZdZ dZ!e!Z"dZ#e#Z$e#Z%dZ&e&Z'dZ(e(Z)dZ*e*Z+d Z,e,Z-d!Z.e.Z/d"Z0e0Z1Z2d#Z3e3Z4d$Z5d%Z6e6Z7e6Z8d&Z9d'Z:e:Z;d(Z<e<Z=d)Z>d*Z?d+Z@d,ZAeAZBd-ZCd.ZDd/ZEd0d1d2d3d4d5gZFd6ZGeHd7ZId8ZJd9ZKd:ZLd;ZMeMZNd<ZOd=ZPd>ZQd?ZRd@ZSdAZTdBZUdCZVdDZWdEZXdFZYdGZZdHZ[dIZ\dJZ]dKZ^dLZ_dMZ`dNZadOZbdPZcdQZddRZedSZfdTZgdUZhdVZidWZjdXZkdYZldZZmd[Znd\Zod]ZpepZqd^Zrd_Zsd`ZtdaZudbZvdcZwddZxdeZyRS(gttabcCstii|tii|||||o
d|_nd|_h|_d|_d|_	yddk
}Wntj
onXg|_dt
ijowt
id}ytt
ii|d}Wntj
oqXx$|iD]}|ii|qW|inytd}Wntj
on3Xx$|iD]}|ii|qJW|ih|_h|_h|_t|_d|_dS(Nis(Pdb) R
itHOMEs.pdbrc(tbdbtBdbt__init__tcmdtCmdtuse_rawinputtprompttaliasest
mainpyfilet_wait_for_mainpyfileRtImportErrortrcLinestostenvironR
tpathtjoinRt	readlinestappendRtcommandstcommands_doprompttcommands_silenttFalsetcommands_definingRt
commands_bnum(tselftcompletekeytstdintstdoutRtenvHometrcFileR((s/usr/local/lib/python2.5/pdb.pyR7sH
					



				cCstii||idS(N(RRtresettforget(R5((s/usr/local/lib/python2.5/pdb.pyR;ascCs(d|_g|_d|_d|_dS(Ni(RRtstacktcurindextcurframe(R5((s/usr/local/lib/python2.5/pdb.pyR<es			cCsM|i|i||\|_|_|i|id|_|idS(Ni(R<t	get_stackR=R>R?texecRcLines(R5tftt((s/usr/local/lib/python2.5/pdb.pytsetupks
cCst|iof|i}g|_xQ|D]E}|d }t|djo"|ddjo|i|q#q#WndS(Niit#(R(tlentonecmd(R5R(R((s/usr/local/lib/python2.5/pdb.pyRArs
		
$cCsG|iodSn|i|o!|idIJ|i|dndS(snThis method is called when there is the remote possibility
        that we ever need to stop in this function.Ns--Call--(R&t	stop_hereR8tinteractionR(R5tframet
argument_list((s/usr/local/lib/python2.5/pdb.pyt	user_calls


cCsv|ioD|i|i|iijp|idjodSnd|_n|i|o|i|dndS(s;This function is called when we stop or break at this line.iN(	R&R%tcanonictf_codetco_filenametf_linenotbp_commandsRIR(R5RJ((s/usr/local/lib/python2.5/pdb.pyt	user_lines

cCst|dto|i|ijo|i}d|_|i}|i|dx"|i|D]}|i|q_W||_|i|p|i	|i
|in|i|o|i
n|idSndS(s Call every command that was set for the current active breakpoint (if there is one)
        Returns True if the normal interaction function must be called, False otherwise t	currentbpiNi(tgetattrR2RSR/tlastcmdRDRRGR1tprint_stack_entryR=R>R0tcmdloopR<(R5RJRStlastcmd_backR((s/usr/local/lib/python2.5/pdb.pyRQs &				
cCs.||id<|idIJ|i|ddS(s7This function is called when a return trap is set here.t
__return__s
--Return--N(tf_localsR8RIR(R5RJtreturn_value((s/usr/local/lib/python2.5/pdb.pytuser_returns

cCs|\}}}||f|id<t|tdjo
|}n
|i}|i|dIt|IJ|i||dS(soThis function is called if an exception occurs,
        but only if we are to stop at or just below this level.t
__exception__R
t:N(RZttypet__name__R8t	_safereprRI(R5RJt.2texc_typet	exc_valuet
exc_tracebackt
exc_type_name((s/usr/local/lib/python2.5/pdb.pytuser_exceptions
	cCs?|i|||i|i|i|i|idS(N(RDRVR=R>RWR<(R5RJt	traceback((s/usr/local/lib/python2.5/pdb.pyRIs
c	Bs|d djo|d}n|ii}|ii}y$e|ddd}|||UWnfeid \}}e|edjo
|}n
|i}|idI|d	I|IJnXdS(
Nit!s
s<stdin>tsingleiR
s***R^(	R?RZt	f_globalsRtsystexc_infoR_R`R8(R5RtlocalstglobalstcodeRCtvRf((s/usr/local/lib/python2.5/pdb.pytdefaults
	cCs'|ip|Sn|i}x|d|ijo|i|d}d}x8|dD],}|idt||}|d}qZW|iddi|d}|i}q$W|ddjoX|id}|djo8||di}|ii	||| i
}q#n|S(	s*Handle alias expansion and ';;' separator.iit%s%*t taliass;;i(tstriptsplitR$treplacetstrR,tfindtlstriptcmdqueueR.trstrip(R5RtargstiittmpArgtmarkertnext((s/usr/local/lib/python2.5/pdb.pytprecmds*
	
cCs2|iptii||Sn|i|SdS(sInterpret the argument as though it had been typed in response
        to the prompt.

        Checks whether this line is typed at the normal prompt or in
        a breakpoint command list definition.
        N(R3R R!RGthandle_command_def(R5R((s/usr/local/lib/python2.5/pdb.pyRGs
cCs|i|\}}}|djot|i|i<dSn|djog|_dSn|i|i}|o|i|d|n|i|yt|d|}Wntj
o|i	}nX|i
|ijo!t|i
|i<g|_dSndS(s: Handles one command line during command list definition. tsilentNtendiRttdo_(t	parselinetTrueR1R4R|R/R.RTtAttributeErrorRrt	func_nametcommands_resumingR2R0(R5RR targtcmdlisttfunc((s/usr/local/lib/python2.5/pdb.pyRs(

	
	cCs|pttiid}n,yt|}Wn|idIJdSnX||_g|i|<t|i	|<t
|i|<|i}d|_t|_
|it
|_
||_dS(sDefines a list of commands associated to a breakpoint
        Those commands will be executed whenever the breakpoint causes the program to stop execution.is/Usage : commands [bnum]
        ...
        endNs(com) (RFRt
Breakpointt
bpbynumbertintR8R4R/RR0R2R1R#R3RW(R5Rtbnumtprompt_back((s/usr/local/lib/python2.5/pdb.pytdo_commandss"
	


			
	icCsI|pU|ioC|idIJx3tiiD]!}|o|i|iq+q+WndSnd}d}d}|id}|djo(||di}|| i	}n|i
d}d}	|djo|| i	}|i|}
|
p.|idIt|I|idIJdSn|
}||di}yt
|}Wqtj
o }|idI|IJdSqXnyt
|}Wntj
oy"t||ii|ii}Wn
|}nXyEt|d	o
|i}n|i}
|
i}	|
i}|
i}Wq|i|\}}}|pB|id
I|it|I|idIJ|idIJdSn|}	t
|}qXnX|p|i}n|i||}|ov|i|||||	}|o|id
I|IJqE|i||d}|id|i|i|i fIJndS(Ns!Num Type         Disp Enb   Wheret,iiR^s*** snot found from sys.paths*** Bad lineno:tim_funcs*** The specified objectsis not a functions or was not found along sys.path.s***isBreakpoint %d at %s:%d(!tbreaksR8RRRtbpprintRRzR{R}trfindtlookupmoduletreprRt
ValueErrortevalR?RkRZthasattrRt	func_codetco_nametco_firstlinenoROtlineinfotdefaultFilet	checklinet	set_breakt
get_breakstnumbertfileR(R5Rt	temporarytbpRRtcondtcommatcolonRRBtmsgRRptoktlnRterr((s/usr/local/lib/python2.5/pdb.pytdo_break&s






	

			



cCs7|iii}|djo|io
|i}n|S(sProduce a reasonable default.s<string>(R?RNROR%(R5R((s/usr/local/lib/python2.5/pdb.pyRys
cCs|i|ddS(Ni(R(R5R((s/usr/local/lib/python2.5/pdb.pyt	do_tbreaksc
Cs7d}|id}t|djo|di}n,t|djo|di}n|S|djo|Sn|id}|ddjo&|d=t|djo|Sqn|i}t|djo|d}n/|i|d}|o
|}n|d}t||}	|	p|S(	Nt'iiiR
t.R5(NNN(RRwRFRvRRR(
R5t
identifiertfailedtidstringtidtpartstfnametitemRBR((s/usr/local/lib/python2.5/pdb.pyRs.


cCsti||}|p|idIJdSn|i}|p3|ddjp"|d djp|d djo|idIJdSn|S(sCheck whether specified line seems to be executable.

        Return `lineno` if it is, 0 if not (e.g. a docstring, comment, blank
        line or EOF). Warning: testing is not comprehensive.
        sEnd of fileiREis"""s'''s*** Blank or comment(t	linecachetgetlineR8Rv(R5RRR((s/usr/local/lib/python2.5/pdb.pyRs
"
cCs|i}x|D]}yt|}Wn'tj
o|id|IJqnXd|jottiijnp|idI|IJqntii|}|o|iqqWdS(Ns#Breakpoint index %r is not a numberisNo breakpoint numbered(	RwRRR8RFRRRtenable(R5RR~tiR((s/usr/local/lib/python2.5/pdb.pyt	do_enables*cCs|i}x|D]}yt|}Wn'tj
o|id|IJqnXd|jottiijnp|idI|IJqntii|}|o|iqqWdS(Ns#Breakpoint index %r is not a numberisNo breakpoint numbered(	RwRRR8RFRRRtdisable(R5RR~RR((s/usr/local/lib/python2.5/pdb.pyt
do_disables*cCs|idd}yt|di}Wn,tj
o |id|dIJdSnXy|d}Wn
d}nXytii|}Wn,t	j
o |id|dIJdSnX|o8||_
|p$|idI|I|idIJqndS(NRtiis#Breakpoint index %r is not a numbers Breakpoint index %r is not validRsis now unconditional.(RwRRvRR8RRRRt
IndexErrorR(R5RR~tbpnumRR((s/usr/local/lib/python2.5/pdb.pytdo_conditions*	
		cCsO|i}yt|di}Wn,tj
o |id|dIJdSnXyt|di}Wn
d}nXytii|}Wn,tj
o |id|dIJdSnX|o||_	|djoHd}|djo|d|}n|d}|i|d	|IJqK|id
I|i|IdIJndS(s*arg is bp number followed by ignore count.is#Breakpoint index %r is not a numberNis Breakpoint index %r is not validsWill ignore next s%d crossingss
1 crossings of breakpoint %d.sWill stop next time breakpointsis reached.(
RwRRvRR8RRRRtignore(R5RR~RtcountRtreply((s/usr/local/lib/python2.5/pdb.pyt	do_ignores4	
		



cCs|paytd}Wntj
o
d}nX|ii}|djo|indSnd|jo|id}|| }||d}yt|}Wntj
od|}nX|i||}|o|i	d	I|IJndSn|i
}x|D]}yt|}Wn'tj
o|i	d
|IJqnXd|jotti
ijnp|i	dI|IJqn|i|}|o|i	d	I|IJq|i	d
I|IJqWdS(sThree possibilities, tried in this order:
        clear -> clear all breaks, ask for confirmation
        clear file:lineno -> clear all breaks at file:lineno
        clear bpno bpno ... -> clear breakpoints by numbersClear all breaks? tnotytyesNR^isInvalid line number (%s)s***s#Breakpoint index %r is not a numberisNo breakpoint numberedsDeleted breakpoint(Rsyes(t	raw_inputtEOFErrorRvtlowertclear_all_breaksRRRtclear_breakR8RwRFRRRtclear_bpbynumber(R5RRRRRRt
numberlist((s/usr/local/lib/python2.5/pdb.pytdo_clearsH


*cCs|idS(N(tprint_stack_trace(R5R((s/usr/local/lib/python2.5/pdb.pytdo_where@scCsl|idjo|idIJnH|id|_|i|id|_|i|i|id|_dS(Nis*** Oldest framei(R>R8R=R?RVRR(R5R((s/usr/local/lib/python2.5/pdb.pytdo_upEscCsy|idt|ijo|idIJnH|id|_|i|id|_|i|i|id|_dS(Nis*** Newest framei(R>RFR=R8R?RVRR(R5R((s/usr/local/lib/python2.5/pdb.pytdo_downOscCs|idS(Ni(tset_step(R5R((s/usr/local/lib/python2.5/pdb.pytdo_stepYs
cCs|i|idS(Ni(tset_nextR?(R5R((s/usr/local/lib/python2.5/pdb.pytdo_next^scCs|i|idS(Ni(t
set_returnR?(R5R((s/usr/local/lib/python2.5/pdb.pyt	do_returncscCs|idS(Ni(tset_continue(R5R((s/usr/local/lib/python2.5/pdb.pytdo_continuehs
c	Cs|idt|ijo|idIJdSnyt|}Wn tj
o|idIJnxXyK||i_|i|id|f|i|i<|i|i|iWn(tj
o}|idI|IJnXdS(Nis-*** You can only jump within the bottom frames.*** The 'jump' command requires a line number.is*** Jump failed:(	R>RFR=R8RRR?RPRV(R5Rte((s/usr/local/lib/python2.5/pdb.pytdo_jumpms
$cCstid|ii}|ii}t|i|i|i	}d|i
i|_
|i	dIJti|i
|||f|i	dIJti|i|i|_dS(Ns(%s) sENTERING RECURSIVE DEBUGGERsLEAVING RECURSIVE DEBUGGER(RltsettraceRR?RkRZRR6R7R8R#Rvtcall_tracingRttrace_dispatchRU(R5RRoRntp((s/usr/local/lib/python2.5/pdb.pytdo_debugs


cCsd|_|idS(Ni(t_user_requested_quittset_quit(R5R((s/usr/local/lib/python2.5/pdb.pytdo_quits	
cCs|iJd|_|idS(Ni(R8RR(R5R((s/usr/local/lib/python2.5/pdb.pytdo_EOFs	
cCs|i}|i}|i}|i}|id@o|d}n|id@o|d}nxct|D]U}|i|}|i|IdI||jo|i||IJqi|idIJqiWdS(Niiit=s*** undefined ***(R?RNRZtco_argcounttco_flagstrangetco_varnamesR8(R5RRBtcotdicttnRtname((s/usr/local/lib/python2.5/pdb.pytdo_argss				


cCs?d|iijo|i|iidIJn|idIJdS(NRYs*** Not yet returned!(R?RZR8(R5R((s/usr/local/lib/python2.5/pdb.pyt	do_retvalscCsy t||ii|iiSWnftid \}}t|to
|}n
|i}|i	dI|dIt
|IJnXdS(Nis***R^(RR?RkRZRlRmt
isinstanceRyR`R8R(R5RRCRqRf((s/usr/local/lib/python2.5/pdb.pyt_getvals
	#cCs.y |it|i|IJWnnXdS(N(R8RR(R5R((s/usr/local/lib/python2.5/pdb.pytdo_ps cCs.y ti|i||iWnnXdS(N(tpprintRR8(R5R((s/usr/local/lib/python2.5/pdb.pytdo_pps c
Cs@d|_d}|oyt|hh}t|td
joC|\}}t|}t|}||jo||}qntdt|d}Wq|idIt|IJdSqXn;|idjotd|i	i
d}n|id}|djo|d}n|i	ii}|i
|}yxt||dD]}ti||}|p|idIJPqVt|id}	t|	djo|	d	}	n||jo|	d
}	n|	d	}	||i	i
jo|	d}	n|i|	d|I||_qVWWntj
onXdS(Ntlistiis*** Error in argument:i
s[EOF]iiRttBs->s	((RURRR_RtmaxR8RRR?RPRNROtget_file_breaksRRRtrjustRFtKeyboardInterrupt(
R5RtlasttxtfirstRt	breaklistRRts((s/usr/local/lib/python2.5/pdb.pytdo_listsR	





c
Cs-y"t||ii|ii}Wnptid \}}t|tdjo
|}n
|i}|idI|dIt	|IJdSnXd}y
|i}WnnX|o|idI|iIJdSny|i
i}WnnX|o|idI|iIJdSn|it|IJdS(NiR
s***R^tFunctiontMethod(RR?RkRZRlRmR_R`R8RRRRR(R5RtvalueRCRqRfRp((s/usr/local/lib/python2.5/pdb.pyt	do_whatiss4
	#
c	Cs|i}t|djoP|ii}|ix,|D]$}|id||i|fIJq?WdSn|d|ijo=t|djo*|id|d|i|dfIJndi|d|i|d<dS(Nis%s = %siRt(RwRFR$tkeystsortR8R,(R5RR~RRu((s/usr/local/lib/python2.5/pdb.pytdo_aliass
"'*cCsQ|i}t|djodSn|d|ijo|i|d=ndS(Ni(RwRFR$(R5RR~((s/usr/local/lib/python2.5/pdb.pyt
do_unaliass
RRRRRRcCs?y%x|iD]}|i|q
WWntj
onXdS(N(R=RVR(R5tframe_lineno((s/usr/local/lib/python2.5/pdb.pyR.s
cCsW|\}}||ijo|idIn|idI|i|i||IJdS(Nt>Rt(R?R8tformat_stack_entry(R5Rt
prompt_prefixRJR((s/usr/local/lib/python2.5/pdb.pyRV5s
cCs|idS(N(thelp_h(R5((s/usr/local/lib/python2.5/pdb.pyt	help_helpAscCs|idIJdS(Nsh(elp)
Without argument, print the list of available commands.
With a command name as argument, print help about that command
"help pdb" pipes the full documentation file to the $PAGER
"help exec" gives help on the ! command(R8(R5((s/usr/local/lib/python2.5/pdb.pyRDscCs|idS(N(thelp_w(R5((s/usr/local/lib/python2.5/pdb.pyt
help_whereKscCs|idIJdS(Nsw(here)
Print a stack trace, with the most recent frame at the bottom.
An arrow indicates the "current frame", which determines the
context of most commands.  'bt' is an alias for this command.(R8(R5((s/usr/local/lib/python2.5/pdb.pyRNscCs|idS(N(thelp_d(R5((s/usr/local/lib/python2.5/pdb.pyt	help_downVscCs|idIJdS(NsSd(own)
Move the current frame one level down in the stack trace
(to a newer frame).(R8(R5((s/usr/local/lib/python2.5/pdb.pyRYscCs|idS(N(thelp_u(R5((s/usr/local/lib/python2.5/pdb.pythelp_up^scCs|idIJdS(NsPu(p)
Move the current frame one level up in the stack trace
(to an older frame).(R8(R5((s/usr/local/lib/python2.5/pdb.pyRascCs|idS(N(thelp_b(R5((s/usr/local/lib/python2.5/pdb.pyt
help_breakfscCs|idIJdS(NsFb(reak) ([file:]lineno | function) [, condition]
With a line number argument, set a break there in the current
file.  With a function name, set a break at first executable line
of that function.  Without argument, list all breaks.  If a second
argument is present, it is a string specifying an expression
which must evaluate to true before the breakpoint is honored.

The line number may be prefixed with a filename and a colon,
to specify a breakpoint in another file (probably one that
hasn't been loaded yet).  The file is searched for on sys.path;
the .py suffix may be omitted.(R8(R5((s/usr/local/lib/python2.5/pdb.pyRis
cCs|idS(N(thelp_cl(R5((s/usr/local/lib/python2.5/pdb.pyt
help_clearvscCs|idIJ|idIJdS(Nscl(ear) filename:linenoscl(ear) [bpnumber [bpnumber...]]
With a space separated list of breakpoint numbers, clear
those breakpoints.  Without argument, clear all breaks (but
first ask confirmation).  With a filename:lineno argument,
clear all breaks at that line in that file.

Note that the argument is different from previous versions of
the debugger (in python distributions 1.5.1 and before) where
a linenumber was used instead of either filename:lineno or
breakpoint numbers.(R8(R5((s/usr/local/lib/python2.5/pdb.pyR ys
	cCs|idIJdS(NsJtbreak  same arguments as break, but breakpoint is
removed when first hit.(R8(R5((s/usr/local/lib/python2.5/pdb.pythelp_tbreakscCs|idIJdS(Nseenable bpnumber [bpnumber ...]
Enables the breakpoints given as a space separated list of
bp numbers.(R8(R5((s/usr/local/lib/python2.5/pdb.pythelp_enablescCs|idIJdS(Nsgdisable bpnumber [bpnumber ...]
Disables the breakpoints given as a space separated list of
bp numbers.(R8(R5((s/usr/local/lib/python2.5/pdb.pythelp_disablescCs|idIJdS(Ns(ignore bpnumber count
Sets the ignore count for the given breakpoint number.  A breakpoint
becomes active when the ignore count is zero.  When non-zero, the
count is decremented each time the breakpoint is reached and the
breakpoint is not disabled and any associated condition evaluates
to true.(R8(R5((s/usr/local/lib/python2.5/pdb.pythelp_ignorescCs|idIJdS(Nscondition bpnumber str_condition
str_condition is a string specifying an expression which
must evaluate to true before the breakpoint is honored.
If str_condition is absent, any existing condition is removed;
i.e., the breakpoint is made unconditional.(R8(R5((s/usr/local/lib/python2.5/pdb.pythelp_conditionscCs|idS(N(thelp_s(R5((s/usr/local/lib/python2.5/pdb.pyt	help_stepscCs|idIJdS(Nss(tep)
Execute the current line, stop at the first possible occasion
(either in a function that is called or in the current function).(R8(R5((s/usr/local/lib/python2.5/pdb.pyR'scCs|idS(N(thelp_n(R5((s/usr/local/lib/python2.5/pdb.pyt	help_nextscCs|idIJdS(Ns_n(ext)
Continue execution until the next line in the current function
is reached or it returns.(R8(R5((s/usr/local/lib/python2.5/pdb.pyR)scCs|idS(N(thelp_r(R5((s/usr/local/lib/python2.5/pdb.pythelp_returnscCs|idIJdS(Ns?r(eturn)
Continue execution until the current function returns.(R8(R5((s/usr/local/lib/python2.5/pdb.pyR+scCs|idS(N(thelp_c(R5((s/usr/local/lib/python2.5/pdb.pyt
help_continuescCs|idS(N(R-(R5((s/usr/local/lib/python2.5/pdb.pyt	help_contscCs|idIJdS(NsLc(ont(inue))
Continue execution, only stop when a breakpoint is encountered.(R8(R5((s/usr/local/lib/python2.5/pdb.pyR-scCs|idS(N(thelp_j(R5((s/usr/local/lib/python2.5/pdb.pyt	help_jumpscCs|idIJdS(Ns6j(ump) lineno
Set the next line that will be executed.(R8(R5((s/usr/local/lib/python2.5/pdb.pyR0scCs|idIJdS(Nsdebug code
Enter a recursive debugger that steps through the code argument
(which is an arbitrary expression or statement to be executed
in the current environment).(R8(R5((s/usr/local/lib/python2.5/pdb.pyt
help_debugscCs|idS(N(thelp_l(R5((s/usr/local/lib/python2.5/pdb.pyt	help_listscCs|idIJdS(Ns8l(ist) [first [,last]]
List source code for the current file.
Without arguments, list 11 lines around the current line
or continue the previous listing.
With one argument, list 11 lines starting at that line.
With two arguments, list the given range;
if the second argument is less than the first, it is a count.(R8(R5((s/usr/local/lib/python2.5/pdb.pyR3scCs|idS(N(thelp_a(R5((s/usr/local/lib/python2.5/pdb.pyt	help_argsscCs|idIJdS(Ns3a(rgs)
Print the arguments of the current function.(R8(R5((s/usr/local/lib/python2.5/pdb.pyR5scCs|idIJdS(Ns/p expression
Print the value of the expression.(R8(R5((s/usr/local/lib/python2.5/pdb.pythelp_pscCs|idIJdS(Ns7pp expression
Pretty-print the value of the expression.(R8(R5((s/usr/local/lib/python2.5/pdb.pythelp_ppscCs|idIJdS(Ns[(!) statement
Execute the (one-line) statement in the context of
the current stack frame.
The exclamation point can be omitted unless the first word
of the statement resembles a debugger command.
To assign to a global variable you must always prefix the
command with a 'global' command, e.g.:
(Pdb) global list_options; list_options = ['-l']
(Pdb)(R8(R5((s/usr/local/lib/python2.5/pdb.pyt	help_execscCs|idS(N(thelp_q(R5((s/usr/local/lib/python2.5/pdb.pyt	help_quitscCs|idIJdS(NsOq(uit) or exit - Quit from the debugger.
The program being executed is aborted.(R8(R5((s/usr/local/lib/python2.5/pdb.pyR:scCs|idIJdS(Ns+whatis arg
Prints the type of the argument.(R8(R5((s/usr/local/lib/python2.5/pdb.pythelp_whatisscCs|idIJdS(Ns,EOF
Handles the receipt of EOF as a command.(R8(R5((s/usr/local/lib/python2.5/pdb.pythelp_EOFscCs|idIJdS(Nsalias [name [command [parameter parameter ...] ]]
Creates an alias called 'name' the executes 'command'.  The command
must *not* be enclosed in quotes.  Replaceable parameters are
indicated by %1, %2, and so on, while %* is replaced by all the
parameters.  If no command is given, the current alias for name
is shown. If no name is given, all aliases are listed.

Aliases may be nested and can contain anything that can be
legally typed at the pdb prompt.  Note!  You *can* override
internal pdb commands with aliases!  Those internal commands
are then hidden until the alias is removed.  Aliasing is recursively
applied to the first word of the command line; all other words
in the line are left alone.

Some useful aliases (especially when placed in the .pdbrc file) are:

#Print instance variables (usage "pi classInst")
alias pi for k in %1.__dict__.keys(): print "%1.",k,"=",%1.__dict__[k]

#Print instance variables in self
alias ps pi self
(R8(R5((s/usr/local/lib/python2.5/pdb.pyt
help_aliasscCs|idIJdS(Ns)unalias name
Deletes the specified alias.(R8(R5((s/usr/local/lib/python2.5/pdb.pythelp_unalias scCs|idIJdS(Nscommands [bpnumber]
(com) ...
(com) end
(Pdb)

Specify a list of commands for breakpoint number bpnumber.  The
commands themselves appear on the following lines.  Type a line
containing just 'end' to terminate the commands.

To remove all commands from a breakpoint, type commands and
follow it immediately with  end; that is, give no commands.

With no bpnumber argument, commands refers to the last
breakpoint set.

You can use breakpoint commands to start your program up again.
Simply use the continue command, or step, or any other
command that resumes execution.

Specifying any command resuming execution (currently continue,
step, next, return, jump, quit and their abbreviations) terminates
the command list (as if that command was immediately followed by end).
This is because any time you resume execution
(even with a simple next or step), you may encounter
another breakpoint--which could have its own command list, leading to
ambiguities about which list to execute.

   If you use the 'silent' command in the command list, the
usual message about stopping at a breakpoint is not printed.  This may
be desirable for breakpoints that are to print a specific message and
then continue.  If none of the other commands print anything, you
see no sign that the breakpoint was reached.
(R8(R5((s/usr/local/lib/python2.5/pdb.pyt
help_commands$s cCstdS(N(R	(R5((s/usr/local/lib/python2.5/pdb.pythelp_pdbGscCs>tii|otii|o|Sntiitid|}tii|o!|i||ijo|Sntii|\}}|djo|d}ntii|o|SnxktiD]`}x'tii	|oti
|}qWtii||}tii|o|SqqWdS(sHelper function for break/clear parsing -- may be overridden.

        lookupmodule() translates (possibly incomplete) file or module name
        into an absolute file name.
        iR
s.pyN(R)R+tisabstexistsR,RlRMR%tsplitexttislinktreadlinkR(R5RRBtroottexttdirnametfullname((s/usr/local/lib/python2.5/pdb.pyRJs&&,

cCsihdd<|d<}|}d|_|i||_d|_d|}|i|d|d|dS(	Nt__main__R`t__file__iisexecfile( "%s")RoRn(R&RMR%RR(R5Rtglobals_tlocals_t	statement((s/usr/local/lib/python2.5/pdb.pyt
_runscriptbs		
N(zR`t
__module__RRR;R<RDRARLRRRQR\RgRIRrRRGRR R!tdo_helptdo_hRRRtdo_bRRRRRRRRtdo_clRtdo_wtdo_btRtdo_uRtdo_dRtdo_sRtdo_nRtdo_rRtdo_ctdo_contRtdo_jRRtdo_qtdo_exitRRtdo_aRtdo_rvRRRR	tdo_lR
RRRRtline_prefixRVRRRRthelp_btRRRRRRR!R R"R#R$R%R&R(R'R*R)R,R+R.R/R-R1R0R2R4R3R6R5R7R8R9R;R:t	help_exitR<R=R>R?R@RARRP(((s/usr/local/lib/python2.5/pdb.pyR5s*				
			
									S			!					 	+							
										+		
	
											
		
																																#		cCsti|||dS(N(RR(RORoRn((s/usr/local/lib/python2.5/pdb.pyRvscCsti|||S(N(RR(t
expressionRoRn((s/usr/local/lib/python2.5/pdb.pyRyscCst|||dS(N(R(RORoRn((s/usr/local/lib/python2.5/pdb.pyR|scOsti||S(N(RR(R~tkwds((s/usr/local/lib/python2.5/pdb.pyRscCstitiidS(N(RRRlt	_getframetf_back(((s/usr/local/lib/python2.5/pdb.pyRscCsKt}|ix|idj	o
|i}qW|i|i|dS(N(RR;ttb_nextRRIttb_frame(RCR((s/usr/local/lib/python2.5/pdb.pyRs	
cCsttidS(N(RRltlast_traceback(((s/usr/local/lib/python2.5/pdb.pyRssimport x; x.main()cCsttdS(N(RtTESTCMD(((s/usr/local/lib/python2.5/pdb.pyttestscCsuxntiD]Z}tii|d}tii|o,tid|}|o
dG|GHnPq
q
WdGdGHdS(Nspdb.docs${PAGER-more} s*** Pager exit status:s)Sorry, can't find the help file "pdb.doc"salong the Python search path(RlR+R)R,RCtsystem(RIRJtsts((s/usr/local/lib/python2.5/pdb.pyR	s

	cCsQtidpdGHtidntid}tii|pdG|GdGHtidntid=tii|tid<t}xy%|i||i	oPndGHWqt
j
odGtidGHqti
d	GHd
GHtid}x|idj	o
|i}qW|i|i|d|dGHqXqdS(
Nis"usage: pdb.py scriptfile [arg] ...isError:sdoes not existis*The program finished and will be restarteds0The program exited via sys.exit(). Exit status: s2Uncaught exception. Entering post mortem debuggings1Running 'cont' or 'step' will restart the programs#Post mortem debugger finished. The s will be restarted(RltargvtexitR)R+RCRIRRPRt
SystemExitRmRht	print_excRlRRIRm(R%tpdbRC((s/usr/local/lib/python2.5/pdb.pytmains:


	

	
RK(!t__doc__RlRR RRRR)RRRht_reprt	maxstringRat__all__RReRR!RRRRRRRRRRoRpR	RxR`(((s/usr/local/lib/python2.5/pdb.pys<module>sD				E								+


Man Man