-
<c    	   sB    d  Z    d k Z  d k Z 	 d k Z 
 d k Z  d k l Z  d k Z  d k Z  d d d d d d d	 d
 d g	 Z	  d   Z
 , d Z . d e i e i f d     YZ qe e d  Z te e d  Z wd   Z {d   Z ~d   Z d   Z d   Z d Z d   Z d   Z d Z d Z e d j o e i d o d GHe i d  n e i d Z Z e i  i! e  o% d Ge Gd GHe i d  n e i  i" e  Z e i d  =e i  i# d  e i  i$ e   e d! e d"  n d S(#   s   A Python debugger.N(   s   reprs   runs   pms   Pdbs   runevals   runctxs   runcalls	   set_traces   post_mortems   helpc    s     t  i d |   }  y  t |  } Wn  t j
 o  t Sn X d }  t }  xp  d oe  | i   }  | d j o  Pn  | i |  o   |  | | f } ! Pn " | d } qg W# | i   $ | Sd  S(   Ns   def\s+%s\s*[(]i   s    (   s   res   compiles   funcnames   cres   opens   filenames   fps   IOErrors   Nones   linenos   answers   readlines   lines   matchs   close(   s   funcnames   filenames   fps   linenos   cres   answers   line(    (    s   /usr/lib/python2.2/pdb.pys   find_function s$   		 
s   
-> c      s_  . t  Z 0 d   Z P d   Z T d   Z Z d   Z a d   Z n d   Z r d   Z x d   Z	  d	   Z
  d
   Z  d   Z  e i i Z  d   Z  d d  Z 	d   Z e Z d   Z d   Z 6d   Z ld   Z sd   Z zd   Z d   Z d   Z e Z d   Z e Z e Z  d   Z! e! Z" d   Z# e# Z$ d   Z% e% Z& d   Z' e' Z( d   Z) e) Z* d   Z+ e+ Z, Z- d   Z. e. Z/ d    Z0 e0 Z1 d!   Z2 e2 Z3 
d"   Z4 d#   Z5 Ce5 Z6 Ed$   Z7 `d%   Z8 md&   Z9 {d'   Z: e; d(  Z< d)   Z= d*   Z> d+   Z? d,   Z@ e@ ZA d-   ZB d.   ZC d/   ZD d0   ZE d1   ZF d2   ZG d3   ZH d4   ZI d5   ZJ d6   ZK d7   ZL d8   ZM d9   ZN d:   ZO d;   ZP d<   ZQ d=   ZR d>   ZS d?   ZT d@   ZU 	dA   ZV dB   ZW dC   ZX dD   ZY dE   ZZ dF   Z[ #dG   Z\ 'dH   Z] 2dI   Z^ 5dJ   Z_ 9dK   Z` =dL   Za AdM   Zb YdN   Zc ]dO   Zd `dP   Ze RS(Q   Nc    s  0 1 t  i i |   2 t i i |   3 d |  _ 4 h  |  _ 6 y 7 d  k } Wn 8 t	 j
 o
 9 n X< g  |  _
 = t i i d  o > t i d } ? y" @ t t i i | d   } Wn A t j
 o
 B n? XD x* | i   DD ] } E |  i
 i |  q WF | i   n G y H t d  } Wn I t j
 o
 J n? XL x* | i   DL ] } M |  i
 i |  qfWN | i   d  S(   Ns   (Pdb) s   HOMEs   .pdbrc(   s   bdbs   Bdbs   __init__s   selfs   cmds   Cmds   prompts   aliasess   readlines   ImportErrors   rcLiness   oss   environs   has_keys   envHomes   opens   paths   joins   rcFiles   IOErrors	   readliness   lines   appends   close(   s   selfs   rcFiles   lines   envHomes   readline(    (    s   /usr/lib/python2.2/pdb.pys   __init__0 s6   " 	 	c    s'   P Q t  i i |   R |  i   d  S(   N(   s   bdbs   Bdbs   resets   selfs   forget(   s   self(    (    s   /usr/lib/python2.2/pdb.pys   resetP s   c    s7   T U t  |  _ V g  |  _ W d |  _ X t  |  _ d  S(   Ni    (   s   Nones   selfs   linenos   stacks   curindexs   curframe(   s   self(    (    s   /usr/lib/python2.2/pdb.pys   forgetT s   c    s\   Z [ |  i   \ |  i | |  \ |  _ |  _ ] |  i |  i d |  _ ^ |  i   d  S(   Ni    (	   s   selfs   forgets	   get_stacks   fs   ts   stacks   curindexs   curframes   execRcLines(   s   selfs   fs   t(    (    s   /usr/lib/python2.2/pdb.pys   setupZ s   !c    s   a b |  i o{ d |  i } f g  |  _ g xY | Dg ]N } h | d  } i t |  d j o | d d j o j |  i |  n q2 Wn d  S(   Nii    s   #(   s   selfs   rcLiness   lines   lens   onecmd(   s   selfs   rcLiness   line(    (    s   /usr/lib/python2.2/pdb.pys   execRcLinesa s   
 	'c    s   n o p |  i | t  d S(   s;   This function is called when we stop or break at this line.N(   s   selfs   interactions   frames   None(   s   selfs   frame(    (    s   /usr/lib/python2.2/pdb.pys	   user_linen s   c    s5   r s t | | i d <u d GHv |  i | t  d S(   s7   This function is called when a return trap is set here.s
   __return__s
   --Return--N(   s   return_values   frames   f_localss   selfs   interactions   None(   s   selfs   frames   return_value(    (    s   /usr/lib/python2.2/pdb.pys   user_returnr s   c    s   x | \ } } } z { | | f | i d <| t |  t d  j o } | } n ~ | i }  | d Gt |  GH |  i
 | |  d S(   so   This function is called if an exception occurs,
        but only if we are to stop at or just below this level.s   __exception__s    s   :N(   s   exc_types	   exc_values   exc_tracebacks   frames   f_localss   types   exc_type_names   __name__s	   _safereprs   selfs   interaction(   s   selfs   frames   .4s   exc_types	   exc_values   exc_tracebacks   exc_type_name(    (    s   /usr/lib/python2.2/pdb.pys   user_exceptionx s   c    sN     |  i | |   |  i |  i |  i   |  i    |  i   d  S(   N(	   s   selfs   setups   frames	   tracebacks   print_stack_entrys   stacks   curindexs   cmdloops   forget(   s   selfs   frames	   traceback(    (    s   /usr/lib/python2.2/pdb.pys   interaction s   c    s     | d  d j o  | d } n  |  i i }  |  i i }  y*  e | d d d  }  | | | UWnl   e	 i
   d  \ } }  e |  e d  j o  | } n  | i }  d G| d	 G| GHn Xd  S(
   Ni   s   !s   
s   <stdin>s   singlei   s    s   ***s   :(   s   lines   selfs   curframes   f_localss   localss	   f_globalss   globalss   compiles   codes   syss   exc_infos   ts   vs   types   exc_type_names   __name__(   s   selfs   lines   codes   exc_type_names   globalss   ts   vs   locals(    (    s   /usr/lib/python2.2/pdb.pys   default s    c    sn     | o  | Sn  | i   }  x  |  i i | d  o  |  i | d }  d }  xD | d D ]5 }  | i d t	 |   |  }  | d } qv W | i d d i
 | d   }  | i   } q1 W | d d j og  | i d  }  | d j oA  | | d i   }  |  i i |   | |  i   } n n  | Sd	 S(
   s*   Handle alias expansion and ';;' separator.i    i   s   %s   %*s    s   aliass   ;;i   N(   s   lines   splits   argss   selfs   aliasess   has_keys   iis   tmpArgs   replaces   strs   joins   finds   markers   lstrips   nexts   cmdqueues   appends   rstrip(   s   selfs   lines   iis   nexts   markers   argss   tmpArg(    (    s   /usr/lib/python2.2/pdb.pys   precmd s,    	 	"c    s     d Sd  S(   Ni    (    (   s   selfs   arg(    (    s   /usr/lib/python2.2/pdb.pys   do_EOF s   i    c    s    | o\  |  i oD  d GH x2 t i i D ]! }  | o  | i   n q3 Wn  d  Sn  t }  t }  t }  | i d  }  | d j o.  | | d i   }  | |  i   } n  | i d  }  | d j o  | |  i   }  |  i |  }  | o  d G| G d GH d  Sn
  | }  | | d i   }  y  t |  } Wn+  t j
 o }  d G| GH d  Sn Xn. y  t |  } Wn t j
 o y+  t |  |  i i  |  i i  } Wn   | } n X yK  t | d	  o  | i } n  | i }  | i  }  | i! } Wni   |  i" |  \ }	 } }  |	 o*  d
 G | G d GH d GH d  Sn  t |  } n Xn X | o  |  i%   } n  |  i& | |  }  | op  |  i( | | | |  }
 |
 o d G|
 GHn8 |  i+ | |  d } d | i, | i- | i' f GHn d  S(   Ns!   Num Type         Disp Enb   Wheres   ,i    i   s   :s   *** s   not found from sys.paths   *** Bad lineno:s   im_funcs   *** The specified objects   is not a functions    or was not found along sys.path.s   ***is   Breakpoint %d at %s:%d(.   s   args   selfs   breakss   bdbs
   Breakpoints
   bpbynumbers   bps   bpprints   Nones   filenames   linenos   conds   finds   commas   lstrips   rstrips   rfinds   colons   lookupmodules   fs   ints
   ValueErrors   msgs   evals   curframes	   f_globalss   f_localss   funcs   hasattrs   im_funcs	   func_codes   codes   co_firstlinenos   co_filenames   lineinfos   oks   lns   defaultFiles	   checklines   lines	   set_breaks	   temporarys   errs
   get_breakss   numbers   file(   s   selfs   args	   temporarys   codes   funcs   colons   conds   commas   lines   oks   errs   lns   fs   filenames   linenos   msgs   bp(    (    s   /usr/lib/python2.2/pdb.pys   do_break s~    	
					

 c    sG   	
|  i i i } | d j o t o t } n | Sd S(   s   Produce a reasonable default.s   <string>N(   s   selfs   curframes   f_codes   co_filenames   filenames
   mainpyfile(   s   selfs   filename(    (    s   /usr/lib/python2.2/pdb.pys   defaultFile	s
   c    s   |  i | d  d  S(   Ni   (   s   selfs   do_breaks   arg(   s   selfs   arg(    (    s   /usr/lib/python2.2/pdb.pys	   do_tbreaks   c 
   s  t  t  t  f } | i d  } t |  d j o | d i   }	 n5 t |  d j o | d i   }	 n  | S!|	 d j o !| Sn "|	 i d  } $| d d j o/ %| d =&t |  d j o '| Sn n )|  i
   } *t |  d j o +| d } n; /|  i | d  } 0| o 1| } n 2| d } 3t | |  } 4| p | Sd  S(   Ns   'i   i    i   s    s   .s   self(   s   Nones   faileds
   identifiers   splits   idstrings   lens   strips   ids   partss   selfs   defaultFiles   fnames   items   lookupmodules   fs   find_functions   answer(
   s   selfs
   identifiers   answers   fs   items   faileds   partss   fnames   idstrings   id(    (    s   /usr/lib/python2.2/pdb.pys   lineinfos.    

c    s  6<>t  i | |  } ?| o @d GHAd Sn B| i   } D| p0 | d d j p | d  d j p | d  d j o Fd GHGd Sn L| d  d j oMd	 } Nd } OxOd
 oPd } Qx | DQ] } R| oU S| o Td } n; U| d j o Vd
 } n W| | j o Xd	 } n n Y| d j o ZPnx [| d d f j o \| } nU ]| d d d f j o ^| d
 } n+ _| d d d f j o `| d
 } n q Wa| d
 } bt  i | |  } c| o dd GHed Sn f| i   } g| o
 gq n h| d j o | d d d d f j o iPn q Wn j| Sd S(   s4  Return line number of first line at or after input
        argument such that if the input points to a 'def', the
        returned line number is the first
        non-blank/non-comment line to follow.  If the input
        points to a blank or comment line, return 0.  At end
        of file, also return 0.s   End of filei    s   #i   s   """s   '''s   *** Blank or comments   defs    i   s   \s   "s   's   (s   {s   [s   )s   }s   ]s   end of fileN(
   s	   linecaches   getlines   filenames   linenos   lines   strips   instrs   bracketss   skipones   c(   s   selfs   filenames   linenos   skipones   cs   instrs   bracketss   line(    (    s   /usr/lib/python2.2/pdb.pys	   checkline6sV   >		 
	
 	

 
*c    sa   lm| i   } nxE | Dn]: } ot i i t |  } p| o q| i	   n q Wd  S(   N(
   s   args   splits   argss   is   bdbs
   Breakpoints
   bpbynumbers   ints   bps   enable(   s   selfs   args   bps   is   args(    (    s   /usr/lib/python2.2/pdb.pys	   do_enablels   
 	
c    sa   st| i   } uxE | Du]: } vt i i t |  } w| o x| i	   n q Wd  S(   N(
   s   args   splits   argss   is   bdbs
   Breakpoints
   bpbynumbers   ints   bps   disable(   s   selfs   args   bps   is   args(    (    s   /usr/lib/python2.2/pdb.pys
   do_disabless   
 	
c    s   z|| i d d  } }t | d i    } ~y | d } Wn t } n Xt i	 i
 | } | o2 | | _ | o d G| Gd GHn n d  S(   Ns    i   i    s
   Breakpoints   is now unconditional.(   s   args   splits   argss   ints   strips   bpnums   conds   Nones   bdbs
   Breakpoints
   bpbynumbers   bp(   s   selfs   args   bpnums   conds   bps   args(    (    s   /usr/lib/python2.2/pdb.pys   do_conditionzs   
c    s  | i   } t | d i    } y t | d i    } Wn d } n Xt i i	 | } | o | | _ | d j oO d } | d j o | d | } n | d } | d | GHn d G| Gd GHn d	 S(
   s*   arg is bp number followed by ignore count.i    i   s   Will ignore next s   %d crossingss
   1 crossings    of breakpoint %d.s   Will stop next time breakpoints   is reached.N(   s   args   splits   argss   ints   strips   bpnums   counts   bdbs
   Breakpoints
   bpbynumbers   bps   ignores   reply(   s   selfs   args   counts   bpnums   bps   replys   args(    (    s   /usr/lib/python2.2/pdb.pys	   do_ignores$   
	c    s  | o y t d  } Wn t j
 o d } n X| i   i   } | d d f j o |  i   n d Sn d | j o | i d  } | |  } | | d } y t |  } Wn d | } n X|  i | |  } | o d	 G| GHn d Sn | i   } xL | D]A } |  i |  } | o d	 G| GHn d
 | f GHqSWd S(   s   Three 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 numbers   Clear all breaks? s   nos   ys   yesNs   :i   s   Invalid line number (%s)s   ***s   Deleted breakpoint %s (   s   args	   raw_inputs   replys   EOFErrors   strips   lowers   selfs   clear_all_breakss   rfinds   is   filenames   ints   linenos   errs   clear_breaks   splits
   numberlists   clear_bpbynumber(   s   selfs   args   errs   filenames   is   linenos   replys
   numberlist(    (    s   /usr/lib/python2.2/pdb.pys   do_clears:   
 
 	
c    s   |  i   d  S(   N(   s   selfs   print_stack_trace(   s   selfs   arg(    (    s   /usr/lib/python2.2/pdb.pys   do_wheres   c    sy   |  i d j o d GHnT |  i d |  _ |  i |  i d |  _ |  i |  i |  i  t |  _ d  S(   Ni    s   *** Oldest framei   (   s   selfs   curindexs   stacks   curframes   print_stack_entrys   Nones   lineno(   s   selfs   arg(    (    s   /usr/lib/python2.2/pdb.pys   do_ups   c    s   |  i d t |  i  j o d GHnT |  i d |  _ |  i |  i d |  _ |  i |  i |  i  t |  _ d  S(   Ni   s   *** Newest framei    (   s   selfs   curindexs   lens   stacks   curframes   print_stack_entrys   Nones   lineno(   s   selfs   arg(    (    s   /usr/lib/python2.2/pdb.pys   do_downs    c    s   |  i   d Sd  S(   Ni   (   s   selfs   set_step(   s   selfs   arg(    (    s   /usr/lib/python2.2/pdb.pys   do_steps   c    s!   |  i |  i  d Sd  S(   Ni   (   s   selfs   set_nexts   curframe(   s   selfs   arg(    (    s   /usr/lib/python2.2/pdb.pys   do_nexts   c    s!   |  i |  i  d Sd  S(   Ni   (   s   selfs
   set_returns   curframe(   s   selfs   arg(    (    s   /usr/lib/python2.2/pdb.pys	   do_returns   c    s   |  i   d Sd  S(   Ni   (   s   selfs   set_continue(   s   selfs   arg(    (    s   /usr/lib/python2.2/pdb.pys   do_continues   c    s   |  i   d Sd  S(   Ni   (   s   selfs   set_quit(   s   selfs   arg(    (    s   /usr/lib/python2.2/pdb.pys   do_quits   c    s   |  i } | i } | i } | i } | i	 d @o | d } n | i	 d @o | d } n x] t
 |  D]L } | i | } | Gd G| i |  o | | GHn	  d GHq Wd  S(   Ni   i   i   s   =s   *** undefined ***(   s   selfs   curframes   fs   f_codes   cos   f_localss   dicts   co_argcounts   ns   co_flagss   ranges   is   co_varnamess   names   has_key(   s   selfs   args   dicts   names   fs   is   cos   n(    (    s   /usr/lib/python2.2/pdb.pys   do_argss      	 c    s>   |  i i i d  o |  i i d GHn	 d GHd  S(   Ns
   __return__s   *** Not yet returned!(   s   selfs   curframes   f_localss   has_key(   s   selfs   arg(    (    s   /usr/lib/python2.2/pdb.pys	   do_retvals   c    s   
y( t  | |  i i |  i i  } Wnt t i   d  \ } } t |  t d  j o | } n | i } d G| d G| GHd  Sn X| GHd  S(   Ni   s    s   ***s   :(   s   evals   args   selfs   curframes	   f_globalss   f_localss   values   syss   exc_infos   ts   vs   types   exc_type_names   __name__(   s   selfs   args   ts   vs   exc_type_names   value(    (    s   /usr/lib/python2.2/pdb.pys   do_p
s   c 
   s  d |  _ t } | o y t | h  h   } t |  t f   j oR | \ }	 }  t	 |	  }	 !t	 |  } "| |	 j  o $|	 | } n n &t
 d t	 |  d  }	 Wn '(d G| GH)d  Sn XnD *|  i t j o  +t
 d |  i i d  }	 n -|  i d }	 .| t j o /|	 d } n 0|  i i i } 1|  i |  } 2y3x t |	 | d  D3] } 4t i | |  } 5| o 6d GH7Pn 9| i d  } :t |  d j  o :| d	 } n ;| | j o ;| d
 } n <| d	 } =| |  i i j o >| d } n ?| d | G@| |  _ qWWn At j
 o
 Bn Xd  S(   Ns   listi   i   s   *** Error in argument:i
   s   [EOF]i   i   s    s   Bs   ->s   	(   s   selfs   lastcmds   Nones   lasts   args   evals   xs   types   firsts   ints   maxs   linenos   curframes   f_linenos   f_codes   co_filenames   filenames   get_file_breakss	   breaklists   ranges	   linecaches   getlines   lines   rjusts   ss   lens   KeyboardInterrupt(
   s   selfs   args   lasts   ss   filenames	   breaklists   linenos   xs   lines   first(    (    s   /usr/lib/python2.2/pdb.pys   do_listsR   	
   	  c    sQ  EFy( Gt  | |  i i H|  i i  } Wnt IJt i   d  \ } } Kt |  t d  j o L| } n M| i } Nd G| d G| GHOd  Sn XPt } Ry R| i } Wn SSn XT| o Ud G| i GHVd  Sn Xy X| i i } Wn YYn XZ| o [d G| i GH\d  Sn ^t |  GHd  S(   Ni   s    s   ***s   :s   Functions   Method(   s   evals   args   selfs   curframes	   f_globalss   f_localss   values   syss   exc_infos   ts   vs   types   exc_type_names   __name__s   Nones   codes	   func_codes   co_names   im_func(   s   selfs   args   codes   exc_type_names   values   ts   v(    (    s   /usr/lib/python2.2/pdb.pys	   do_whatisEs4   	  
  
c    s   `a| i   } bt |  d j oZ c|  i i   } d| i   ex* | De] } fd | |  i | f GHqQ Wgd  Sn h|  i i	 | d  o t |  d j o% id | d |  i | d f GHn" kd i
 | d  |  i | d <d  S(   Ni    s   %s = %si   s    (   s   args   splits   argss   lens   selfs   aliasess   keyss   sorts   aliass   has_keys   join(   s   selfs   args   aliass   keyss   args(    (    s   /usr/lib/python2.2/pdb.pys   do_alias`s   
 	-%c    sf   mn| i   } ot |  d j o od  Sn p|  i i | d  o q|  i | d =n d  S(   Ni    (   s   args   splits   argss   lens   selfs   aliasess   has_key(   s   selfs   args   args(    (    s   /usr/lib/python2.2/pdb.pys
   do_unaliasms
    c    sT   {|y. }x$ |  i D}] } ~|  i |  q WWn t j
 o
 n Xd  S(   N(   s   selfs   stacks   frame_linenos   print_stack_entrys   KeyboardInterrupt(   s   selfs   frame_lineno(    (    s   /usr/lib/python2.2/pdb.pys   print_stack_trace{s    	c    sO   | \ } } | |  i j o d Gn d G|  i | |  GHd  S(   Ns   >s    (   s   frame_linenos   frames   linenos   selfs   curframes   format_stack_entrys   prompt_prefix(   s   selfs   frame_linenos   prompt_prefixs   frames   lineno(    (    s   /usr/lib/python2.2/pdb.pys   print_stack_entrys
   c    s   |  i   d  S(   N(   s   selfs   help_h(   s   self(    (    s   /usr/lib/python2.2/pdb.pys	   help_helps   c    s   d GHd  S(   Ns   h(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(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_hs   c    s   |  i   d  S(   N(   s   selfs   help_w(   s   self(    (    s   /usr/lib/python2.2/pdb.pys
   help_wheres   c    s   d GHd  S(   Ns   w(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.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_ws   c    s   |  i   d  S(   N(   s   selfs   help_d(   s   self(    (    s   /usr/lib/python2.2/pdb.pys	   help_downs   c    s   d GHd  S(   NsT   d(own)
Move the current frame one level down in the stack trace
(to an older frame).(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_ds   c    s   |  i   d  S(   N(   s   selfs   help_u(   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_ups   c    s   d GHd  S(   NsO   u(p)
Move the current frame one level up in the stack trace
(to a newer frame).(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_us   c    s   |  i   d  S(   N(   s   selfs   help_b(   s   self(    (    s   /usr/lib/python2.2/pdb.pys
   help_breaks   c    s   d GHd  S(   NsF  b(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.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_bs   c    s   |  i   d  S(   N(   s   selfs   help_cl(   s   self(    (    s   /usr/lib/python2.2/pdb.pys
   help_clears   c    s   d GHd GHd  S(   Ns   cl(ear) filename:linenos  cl(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.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_cls   c    s   d GHd  S(   NsJ   tbreak  same arguments as break, but breakpoint is
removed when first hit.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_tbreaks   c    s   d GHd  S(   Nse   enable bpnumber [bpnumber ...]
Enables the breakpoints given as a space separated list of
bp numbers.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_enables   c    s   d GHd  S(   Nsg   disable bpnumber [bpnumber ...]
Disables the breakpoints given as a space separated list of
bp numbers.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_disables   c    s   d GHd  S(   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.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_ignores   c    s   d GHd  S(   Ns   condition 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.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_conditions   c    s   |  i   d  S(   N(   s   selfs   help_s(   s   self(    (    s   /usr/lib/python2.2/pdb.pys	   help_steps   c    s   d GHd  S(   Ns   s(tep)
Execute the current line, stop at the first possible occasion
(either in a function that is called or in the current function).(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_ss   c    s   |  i   d  S(   N(   s   selfs   help_n(   s   self(    (    s   /usr/lib/python2.2/pdb.pys	   help_nexts   c    s   d GHd  S(   Ns_   n(ext)
Continue execution until the next line in the current function
is reached or it returns.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_ns   c    s    |  i   d  S(   N(   s   selfs   help_r(   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_returns   c    s   d GHd  S(   Ns?   r(eturn)
Continue execution until the current function returns.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_rs   c    s   |  i   d  S(   N(   s   selfs   help_c(   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_continues   c    s   	
|  i   d  S(   N(   s   selfs   help_c(   s   self(    (    s   /usr/lib/python2.2/pdb.pys	   help_cont	s   c    s   d GHd  S(   NsL   c(ont(inue))
Continue execution, only stop when a breakpoint is encountered.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_cs   c    s   |  i   d  S(   N(   s   selfs   help_l(   s   self(    (    s   /usr/lib/python2.2/pdb.pys	   help_lists   c    s   d GHd  S(   Ns8  l(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.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_ls   c    s   |  i   d  S(   N(   s   selfs   help_a(   s   self(    (    s   /usr/lib/python2.2/pdb.pys	   help_argss   c    s    d GHd  S(   Ns3   a(rgs)
Print the arguments of the current function.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_as   c    s   #$d GHd  S(   Ns/   p expression
Print the value of the expression.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_p#s   c    s   '(d GHd  S(   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)(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys	   help_exec's   c    s   23|  i   d  S(   N(   s   selfs   help_q(   s   self(    (    s   /usr/lib/python2.2/pdb.pys	   help_quit2s   c    s   56d GHd  S(   NsE   q(uit) Quit from the debugger.
The program being executed is aborted.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_q5s   c    s   9:d GHd  S(   Ns+   whatis arg
Prints the type of the argument.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_whatis9s   c    s   =>d GHd  S(   Ns,   EOF
Handles the receipt of EOF as a command.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_EOF=s   c    s   ABd GHd  S(   Ns  alias [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
(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys
   help_aliasAs   c    s   YZd GHd  S(   Ns)   unalias name
Deletes the specified alias.(    (   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_unaliasYs   c    s   ]^t    d  S(   N(   s   help(   s   self(    (    s   /usr/lib/python2.2/pdb.pys   help_pdb]s   c    s   `abt  i i |  \ } } c| d j o d| d } n et  i i |  o f| Sn gx t i Dg]r } hx- ht  i i	 |  o it  i
 |  } q Wjt  i i | |  } kt  i i |  o l| Sn qp Wmt Sd S(   s=   Helper function for break/clear parsing -- may be overridden.s    s   .pyN(   s   oss   paths   splitexts   filenames   roots   exts   isabss   syss   dirnames   islinks   readlinks   joins   fullnames   existss   None(   s   selfs   filenames   exts   roots   dirnames   fullname(    (    s   /usr/lib/python2.2/pdb.pys   lookupmodule`s    	 (f   s   __name__s
   __module__s   __init__s   resets   forgets   setups   execRcLiness	   user_lines   user_returns   user_exceptions   interactions   defaults   precmds   cmds   Cmds   do_helps   do_hs   do_EOFs   do_breaks   defaultFiles   do_bs	   do_tbreaks   lineinfos	   checklines	   do_enables
   do_disables   do_conditions	   do_ignores   do_clears   do_cls   do_wheres   do_ws   do_bts   do_ups   do_us   do_downs   do_ds   do_steps   do_ss   do_nexts   do_ns	   do_returns   do_rs   do_continues   do_cs   do_conts   do_quits   do_qs   do_argss   do_as	   do_retvals   do_rvs   do_ps   do_lists   do_ls	   do_whatiss   do_aliass
   do_unaliass   print_stack_traces   line_prefixs   print_stack_entrys	   help_helps   help_hs
   help_wheres   help_ws   help_bts	   help_downs   help_ds   help_ups   help_us
   help_breaks   help_bs
   help_clears   help_cls   help_tbreaks   help_enables   help_disables   help_ignores   help_conditions	   help_steps   help_ss	   help_nexts   help_ns   help_returns   help_rs   help_continues	   help_conts   help_cs	   help_lists   help_ls	   help_argss   help_as   help_ps	   help_execs	   help_quits   help_qs   help_whatiss   help_EOFs
   help_aliass   help_unaliass   help_pdbs   lookupmodule(    (    (    s   /usr/lib/python2.2/pdb.pys   Pdb. s   	 O	!6"											+			c    s    qrt    i |  | |  d  S(   N(   s   Pdbs   runs	   statements   globalss   locals(   s	   statements   globalss   locals(    (    s   /usr/lib/python2.2/pdb.pys   runqs   c    s    tut    i |  | |  Sd  S(   N(   s   Pdbs   runevals
   expressions   globalss   locals(   s
   expressions   globalss   locals(    (    s   /usr/lib/python2.2/pdb.pys   runevalts   c    s   wyt  |  | |  d  S(   N(   s   runs	   statements   globalss   locals(   s	   statements   globalss   locals(    (    s   /usr/lib/python2.2/pdb.pys   runctxws   c     s   {|t  t   i |   Sd  S(   N(   s   applys   Pdbs   runcalls   args(   s   args(    (    s   /usr/lib/python2.2/pdb.pys   runcall{s   c      s   ~t    i   d  S(   N(   s   Pdbs	   set_trace(    (    (    s   /usr/lib/python2.2/pdb.pys	   set_trace~s   c    s`   t    } | i   x$ |  i t j	 o |  i }  q" W| i |  i |   d  S(   N(   s   Pdbs   ps   resets   ts   tb_nexts   Nones   interactions   tb_frame(   s   ts   p(    (    s   /usr/lib/python2.2/pdb.pys   post_mortems    c      s   t  t i  d  S(   N(   s   post_mortems   syss   last_traceback(    (    (    s   /usr/lib/python2.2/pdb.pys   pms   s   import x; x.main()c      s   t  t  d  S(   N(   s   runs   TESTCMD(    (    (    s   /usr/lib/python2.2/pdb.pys   tests   c     s   x t  i D]l } t i i | d  }  t i i |   o8 t i d |   } | o d G| GHn Pn q Wd Gd GHd  S(   Ns   pdb.docs   ${PAGER-more} s   *** Pager exit status:s)   Sorry, can't find the help file "pdb.doc"s   along the Python search path(	   s   syss   paths   dirnames   oss   joins   fullnames   existss   systems   sts(   s   fullnames   dirnames   sts(    (    s   /usr/lib/python2.2/pdb.pys   helps    	
 s    s   __main__i   s"   usage: pdb.py scriptfile [arg] ...i   s   Error:s   does not existi    s	   execfile(s   )(%   s   __doc__s   syss	   linecaches   cmds   bdbs   reprs	   _safereprs   oss   res   __all__s   find_functions   line_prefixs   Bdbs   Cmds   Pdbs   Nones   runs   runevals   runctxs   runcalls	   set_traces   post_mortems   pms   TESTCMDs   tests   helps
   mainmodules
   mainpyfiles   __name__s   argvs   exits   filenames   paths   existss   basenames   inserts   dirname(   s   runs   helps   line_prefixs	   set_traces
   mainmodules   syss   find_functions   runevals   runcalls   Pdbs
   mainpyfiles   __all__s   bdbs   oss   cmds   filenames	   _safereprs	   linecaches   post_mortems   tests   TESTCMDs   runctxs   res   pm(    (    s   /usr/lib/python2.2/pdb.pys   ? sL   $	"   F			"