shell bypass 403

GrazzMean-Shell Shell

Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 3.133.137.33
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : bdb.cpython-313.pyc
�

1}g�����SrSSKrSSKrSSKrSSKJrJrJr /SQr\\-\-r	"SS\
5r"SS5rS	r
"S
S5rSrS
r"SS\5rSrSrSrg)zDebugger basics�N)�CO_GENERATOR�CO_COROUTINE�CO_ASYNC_GENERATOR)�BdbQuit�Bdb�
Breakpointc��\rSrSrSrSrg)r�
z Exception to give up completely.�N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�__static_attributes__r��*/opt/alt/python313/lib64/python3.13/bdb.pyrr
s��*rrc�b�\rSrSrSrS6SjrSrSrSrSr	S	r
S
rSrSr
S
rSrSrSrSrSrSrSrSrSrSrS7SjrSrS6SjrSrSrSrSrS6Sjr S r!S!r"S"r#S8S#jr$S$r%S%r&S&r'S'r(S(r)S)r*S*r+S+r,S,r-S-r.S.r/S/r0S9S0jr1S:S1jr2S:S2jr3S3r4S4r5S5r6g);r�a�Generic Python debugger base class.

This class takes care of details of the trace facility;
a derived class should implement user interaction.
The standard debugger class (pdb.Pdb) is an example.

The optional skip argument must be an iterable of glob-style
module name patterns.  The debugger will not step into frames
that originate in a module that matches one of these patterns.
Whether a frame is considered to originate in a certain module
is determined by the __name__ in the frame globals.
Nc��U(a[U5OSUl0Ul0Ul0UlSUlSUlSUlUR5 g)NF)	�set�skip�breaks�fncache�frame_trace_lines_opcodes�frame_returning�
trace_opcodes�
enterframe�_load_breaks)�selfrs  r�__init__�Bdb.__init__sJ��!%�C��I�4��	�������)+��&�#���"���������rc��USUSS-S-:XaU$URRU5nU(dL[RR	U5n[RRU5nX RU'U$)z�Return canonical form of filename.

For real filenames, the canonical form is a case-normalized (on
case insensitive filesystems) absolute path.  'Filenames' with
angle brackets, such as "<stdin>", generated in interactive
mode, are returned unchanged.
�<�����>)r�get�os�path�abspath�normcase)r �filename�canonics   rr.�Bdb.canonic*so���s�X�a��^�+�c�1�1��O��,�,�"�"�8�,����g�g�o�o�h�/�G��g�g�&�&�w�/�G�%,�L�L��"��rc�^�SSKnUR5 SUlURSS5 g)z5Set values of attributes as ready to start debugging.rN)�	linecache�
checkcache�botframe�
_set_stopinfo)r r1s  r�reset�	Bdb.reset;s(���������
����4��&rc���XlUR(agUS:XaURU5$US:XaURX5$US:XaUR	X5$US:XaURX5$US:XaUR$US:XaUR$US:XaUR$US	:XaURX5$[S
[U55 UR$)a�Dispatch a trace function for debugged frames based on the event.

This function is installed as the trace function for debugged
frames. Its return value is the new trace function, which is
usually itself. The default implementation decides how to
dispatch a frame, depending on the type of event (passed in as a
string) that is about to be executed.

The event can be one of the following:
    line: A new line of code is going to be executed.
    call: A function is about to be called or another code block
          is entered.
    return: A function or other code block is about to return.
    exception: An exception has occurred.
    c_call: A C function is about to be called.
    c_return: A C function has returned.
    c_exception: A C function has raised an exception.

For the Python events, specialized functions (see the dispatch_*()
methods) are called.  For the C events, no action is taken.

The arg parameter depends on the previous event.
N�line�call�return�	exception�c_call�c_exception�c_return�opcodez*bdb.Bdb.dispatch: unknown debugging event:)
r�quitting�
dispatch_line�
dispatch_call�dispatch_return�dispatch_exception�trace_dispatch�dispatch_opcode�print�repr)r �frame�event�args    rrE�Bdb.trace_dispatchBs���2 ���=�=���F�?��%�%�e�,�,��F�?��%�%�e�1�1��H���'�'��3�3��K���*�*�5�6�6��H���&�&�&��M�!��&�&�&��J���&�&�&��H���'�'��3�3�
�:�D��K�H��"�"�"rc���URU5(dURU5(a(URU5 UR(a[eUR
$)z�Invoke user function and return trace function for line event.

If the debugger stops on the current line, invoke
self.user_line(). Raise BdbQuit if self.quitting is set.
Return self.trace_dispatch to continue tracing in this scope.
)�	stop_here�
break_here�	user_liner@rrE�r rIs  rrA�Bdb.dispatch_linersD���>�>�%� � �D�O�O�E�$:�$:��N�N�5�!��}�}�G�m��"�"�"rc��URcURUlUR$URU5(dUR	U5(dgUR
(a.URR[-(aUR$URX5 UR(a[eUR$)z�Invoke user function and return trace function for call event.

If the debugger stops on this function call, invoke
self.user_call(). Raise BdbQuit if self.quitting is set.
Return self.trace_dispatch to continue tracing in this scope.
N)r3�f_backrErN�break_anywhere�	stopframe�f_code�co_flags�GENERATOR_AND_COROUTINE_FLAGS�	user_callr@r�r rIrKs   rrB�Bdb.dispatch_call~s����=�=� �!�L�L�D�M��&�&�&����u�%�%��)<�)<�U�)C�)C���>�>�e�l�l�3�3�6S�S��&�&�&����u�"��=�=��-��"�"�"rc�
�URU5(dXR:Xa�UR(a.URR[
-(aUR$XlURX5 SUlUR(a[eURULa"URS:waURSS5 URS:waURU5 UR$!SUlf=f)z�Invoke user function and return trace function for return event.

If the debugger stops on this function return, invoke
self.user_return(). Raise BdbQuit if self.quitting is set.
Return self.trace_dispatch to continue tracing in this scope.
Nr&)rN�returnframerVrWrXrYrEr�user_returnr@r�
stoplinenor4�_set_caller_tracefuncr[s   rrC�Bdb.dispatch_return�s����>�>�%� � �E�-=�-=�$=��~�~�%�,�,�"7�"7�:W�"W��*�*�*�
,�',�$�� � ��,�'+��$��}�}�G�m��~�~��&�4�?�?�b�+@��"�"�4��.����"�$��*�*�5�1��"�"�"��(,��$�s�&C9�9	Dc�"�URU5(ahURR[-(aUS[LaUSb(URX5 UR(a[eUR$UR(auXRLagURRR[-(a;US[[4;a(URX5 UR(a[eUR$)z�Invoke user function and return trace function for exception event.

If the debugger stops on this exception, invoke
self.user_exception(). Raise BdbQuit if self.quitting is set.
Return self.trace_dispatch to continue tracing in this scope.
r�)rNrWrXrY�
StopIteration�user_exceptionr@rrV�
GeneratorExitrEr[s   rrD�Bdb.dispatch_exception�s����>�>�%� � ��L�L�)�)�,I�I��A��-�/�C��F�N��#�#�E�/��=�=��-��"�"�"�
�n�n��n�n�!<��N�N�)�)�2�2�5R�R���F�}�m�<�<�����+��}�}�G�m��"�"�"rc���URU5(dURU5(a(URU5 UR(a[eUR
$)z�Invoke user function and return trace function for opcode event.
If the debugger stops on the current opcode, invoke
self.user_opcode(). Raise BdbQuit if self.quitting is set.
Return self.trace_dispatch to continue tracing in this scope.
)rNrO�user_opcoder@rrEr[s   rrF�Bdb.dispatch_opcode�sF���>�>�%� � �D�O�O�E�$:�$:����U�#��}�}�G�m��"�"�"rc�l�UcgURH n[R"X5(dM  g g)z4Return True if module_name matches any skip pattern.FT)r�fnmatch)r �module_name�patterns   r�is_skipped_module�Bdb.is_skipped_module�s0������y�y�G����{�4�4��!�rc��UR(a0URURRS55(agXRLa*UR
S:XagURUR
:�$UR(dgg)z>Return True if frame is below the starting frame in the stack.rFr&T)rrp�	f_globalsr(rVr`�f_linenorQs  rrN�
Bdb.stop_here�sg���9�9��%�%�e�o�o�&9�&9�*�&E�F�F���N�N�"����"�$���>�>�T�_�_�4�4��~�~��rc���URURR5nX R;agURnX0RU;a)URR
nX0RU;ag[
X#U5upEU(aNURUlU(a5UR(a$UR[UR55 gg)z�Return True if there is an effective breakpoint for this line.

Check for line or function breakpoint and if in effect.
Delete temporary breakpoints if effective() says to.
FT)r.rW�co_filenamerrt�co_firstlineno�	effective�number�	currentbp�	temporary�do_clear�str)r rIr-�lineno�bp�flags      rrO�Bdb.break_here�s����<�<���� 8� 8�9���;�;�&���������X�.�.��\�\�0�0�F��[�[��2�2���x��7�
��
��Y�Y�D�N������
�
�c�"�)�)�n�-��rc��[S5e)z\Remove temporary breakpoint.

Must implement in derived classes or get NotImplementedError.
z)subclass of bdb must implement do_clear())�NotImplementedError)r rKs  rr}�Bdb.do_clears��
"�"M�N�Nrc�f�URURR5UR;$)zEReturn True if there is any breakpoint for frame's filename.
        )r.rWrwrrQs  rrU�Bdb.break_anywheres&���|�|�E�L�L�4�4�5����D�Drc��g)z&Called if we might stop in a function.Nr)r rI�
argument_lists   rrZ�
Bdb.user_call���rc��g)z'Called when we stop or break at a line.NrrQs  rrP�
Bdb.user_liner�rc��g)z&Called when a return trap is set here.Nr)r rI�return_values   rr_�Bdb.user_return#r�rc��g)z$Called when we stop on an exception.Nr)r rI�exc_infos   rrf�Bdb.user_exception'r�rc��g)z.Called when we are about to execute an opcode.NrrQs  rrj�Bdb.user_opcode+r�rc��XR:wa=XlURnUb'XlX RLagURnUbM&ggg�N)rr�f_trace_opcodesr3rT)r rrIs   r�_set_trace_opcodes�Bdb._set_trace_opcodes/sL���.�.�.�!.���O�O�E��#�(5�%��M�M�)������	�#�/rc�X�XlX lSUlX0lUR	U5 g)z�Set the attributes for stopping.

If stoplineno is greater than or equal to 0, then stop at line
greater than or equal to the stopline.  If stoplineno is -1, then
don't stop at all.
FN)rVr^r@r`r�)r rVr^r`r?s     rr4�Bdb._set_stopinfo9s+��#��&����
�%������'rc��URnU(a3UR(d!X RLaURUlggggr�)rT�f_tracer3rE)r �
current_frame�caller_frames   rra�Bdb._set_caller_tracefuncHs<��%�+�+���� 4� 4��]�]�9Z�#'�#6�#6�L� �:[� 4�<rc�L�UcURS-nURXU5 g)zpStop when the line with the lineno greater than the current one is
reached or when returning from current frame.Nr%)rtr4)r rIrs   r�	set_until�
Bdb.set_untilUs'���>��^�^�a�'�F����5��0rc�(�URSS5 g)zStop after one line of code.N�r4�r s r�set_step�Bdb.set_step]s�����4��&rc�&�URSSSS9 g)z!Stop before the next instruction.NT)r?r�r�s r�
set_stepinstr�Bdb.set_stepinstras�����4��d��3rc�(�URUS5 g)z2Stop on the next line in or below the given frame.Nr�rQs  r�set_next�Bdb.set_nextes�����5�$�'rc��URR[-(aURUSS5 gURURU5 g)z)Stop when returning from the given frame.Nr&)rWrXrYr4rTrQs  r�
set_return�Bdb.set_returnis;���<�<� � �#@�@����u�d�B�/����u�|�|�U�3rc��Uc[R"5RnUR5 XlU(aXUR
UlXlURUR4URU'SUlURnU(aMXUR5 [R"UR
5 g)z^Start debugging from frame.

If frame is not specified, debugging starts from caller's frame.
NT)
�sys�	_getframerTr5rrEr�r3�
f_trace_linesr�rr��settracerQs  r�	set_trace�
Bdb.set_traceps���
�=��M�M�O�*�*�E��
�
����� �/�/�E�M�!�M�5:�5H�5H�%�J_�J_�4`�D�*�*�5�1�"&�E���L�L�E�
�e�	
�������T�(�(�)rc��URURSS5 UR(d�[R"S5 [R
"5RnU(a3XRLa%U?URnU(aXRLaM%URR5Hunup#X#sUl
UlM 0Ulgg)zpStop only at breakpoints or when finished.

If there are no breakpoints, set the system trace function to None.
Nr&)r4r3rr�r�r�rTr�r�itemsr�r�)r rI�trace_linesrs    r�set_continue�Bdb.set_continue�s���	
���4�=�=�$��3��{�{��L�L����M�M�O�*�*�E��E���6��M������E���6�8<�7U�7U�7[�7[�7]�3��3��=H�:��#�U�%:�8^�-/�D�*�rc�n�URUlSUlSUl[R
"S5 g)zeSet quitting attribute to True.

Raises BdbQuit exception in the next call to a dispatch_*() method.
NT)r3rVr^r@r�r�r�s r�set_quit�Bdb.set_quit�s*��
����������
����T�rc�j�URRU/5nX#;aURU5 gg)z/Add breakpoint to breaks, if not already there.N)r�
setdefault�append)r r-r�
bp_linenoss    r�_add_to_breaks�Bdb._add_to_breaks�s1���[�[�+�+�H�b�9�
��#����f�%�$rc�D�URU5nSSKnURX5nU(dSX4-$URX5 [	XX4U5nUR
n	U	(a<UR
U	5(aURU	lU	Rn	U	(aM<g)z�Set a new breakpoint for filename:lineno.

If lineno doesn't exist for the filename, return an error message.
The filename should be in canonical form.
rNzLine %s:%d does not exist)
r.r1�getliner�rrrUrEr�rT)
r r-rr|�cond�funcnamer1r8r�rIs
          r�	set_break�
Bdb.set_break�s����<�<��)���� � ��2���.�(�1C�C�C����H�-�
��)�8�
D��������"�"�5�)�)� $� 3� 3��
��L�L�E��e�rc�t�[RR5HupURX5 M g)a'Apply all breakpoints (set in other instances) to this one.

Populates this instance's breaks list from the Breakpoint class's
list, which can have breakpoints set by another Bdb instance. This
is necessary for interactive sessions to keep the breakpoints
active across multiple calls to run().
N)r�bplist�keysr��r r-rs   rr�Bdb._load_breaks�s.��#-�"3�"3�"8�"8�":��X�����1�#;rc��X4[R;aURURU5 URU(dURU	gg)z�Prune breakpoints for filename:lineno.

A list of breakpoints is maintained in the Bdb instance and in
the Breakpoint class.  If a breakpoint in the Bdb instance no
longer exists in the Breakpoint class, then it's removed from the
Bdb instance.
N)rr�r�remover�s   r�
_prune_breaks�Bdb._prune_breaks�sI��
��Z�%6�%6�6��K�K��!�(�(��0��{�{�8�$����H�%�%rc��URU5nXR;aSU-$X RU;aSX4-$[RX4SSHnUR	5 M URX5 g)z^Delete breakpoints for filename:lineno.

If no breakpoints were set, return an error message.
�There are no breakpoints in %szThere is no breakpoint at %s:%dN)r.rrr��deleteMer�)r r-rr�s    r�clear_break�Bdb.clear_break�s}��
�<�<��)���;�;�&�3�h�>�>����X�.�.�4��7I�I�I��#�#�H�$4�5�a�8�B��K�K�M�9����8�,�rc���URU5nUR5 UR	UR
UR5 g![an[U5sSnA$SnAff=f)zhDelete a breakpoint by its index in Breakpoint.bpbynumber.

If arg is invalid, return an error message.
N)�get_bpbynumber�
ValueErrorr~r�r��filer8)r rKr��errs    r�clear_bpbynumber�Bdb.clear_bpbynumber�sX��
	��$�$�S�)�B�	���
����2�7�7�B�G�G�,���	�	��s�8�O��	�s�A
�

A)�
A$�A)�$A)c���URU5nXR;aSU-$URUH0n[RX4nUHnUR	5 M M2 URU	g)zPDelete all breakpoints in filename.

If none were set, return an error message.
r�N)r.rrr�r�)r r-r8�blistr�s     r�clear_all_file_breaks�Bdb.clear_all_file_breaks�sp��
�<�<��)���;�;�&�3�h�>�>��K�K��)�D��%�%�h�n�5�E������
��*�
�K�K��!�rc��UR(dg[RHnU(dMUR5 M 0Ulg)zMDelete all existing breakpoints.

If none were set, return an error message.
zThere are no breakpointsN)rr�
bpbynumberr�)r r�s  r�clear_all_breaks�Bdb.clear_all_breaks	s8��
�{�{�-��'�'�B��r����
�(����rc��U(d[S5e[U5n[RUnUc[SU-5eU$![a [SU-5Sef=f![a [SU-5Sef=f)z�Return a breakpoint by its index in Breakpoint.bybpnumber.

For invalid arg values or if the breakpoint doesn't exist,
raise a ValueError.
zBreakpoint number expectedz Non-numeric breakpoint number %sNz!Breakpoint number %d out of rangezBreakpoint %d already deleted)r��intrr��
IndexError)r rKrzr�s    rr��Bdb.get_bpbynumbers�����9�:�:�	Q���X�F�	U��&�&�v�.�B��:��<�v�E�F�F��	���	Q��?�#�E�F�D�P�	Q���	U��@�6�I�J�PT�T�	U�s�A�A#�A �#A=c�p�URU5nXR;=(a X RU;$)z9Return True if there is a breakpoint for filename:lineno.�r.rr�s   r�	get_break�
Bdb.get_break*s3���<�<��)���;�;�&�,��k�k�(�+�+�	,rc��URU5nXR;=(a, X RU;=(a [RX4=(d /$)z^Return all breakpoints for filename:lineno.

If no breakpoints are set, return an empty list.
)r.rrr�r�s   r�
get_breaks�Bdb.get_breaks0sS��
�<�<��)���;�;�&�0��k�k�(�+�+�0����h�.�/�6�35�	6rc�d�URU5nXR;aURU$/$)zbReturn all lines with breakpoints for filename.

If no breakpoints are set, return an empty list.
r�)r r-s  r�get_file_breaks�Bdb.get_file_breaks:s0��
�<�<��)���{�{�"��;�;�x�(�(��Irc��UR$)z$Return all breakpoints that are set.)rr�s r�get_all_breaks�Bdb.get_all_breaksEs���{�{�rc���/nU(aURULaURnUb<URXR45 XRLaOUR
nUbM<UR
5 [S[U5S-
5nUb8URURUR45 URnUbM8Uc[S[U5S-
5nX44$)z�Return a list of (frame, lineno) in a stack trace and a size.

List starts with original calling frame, if there is one.
Size may be number of frames above or below f.
rr%)
�tb_frame�tb_nextr�rtr3rT�reverse�max�len�	tb_lineno)r �f�t�stack�is     r�	get_stack�
Bdb.get_stackLs���������q���	�	�A��m��L�L�!�Z�Z��)��M�M�!�����A�	�m�
	�
�
����3�u�:��>�"���m��L�L�!�*�*�a�k�k�2�3��	�	�A��m�
�9��A�s�5�z�A�~�&�A��x�rc���SSKnSSKnUupVURURR5nU<SU<S3nURR
(aX�RR
-
nOUS-
nUS-
nSUR;a'URSn	US-
nX�RU	5-
nUb:URXvUR5n
U
(aX�U
R5--
nU$X�S	3-
nU$)
aReturn a string with information about a stack entry.

The stack entry frame_lineno is a (frame, lineno) tuple.  The
return string contains the canonical filename, the function name
or '<lambda>', the input arguments, the return value, and the
line of code (if it exists).

rN�(�)z<lambda>z()�
__return__z->zWarning: lineno is None)r1�reprlibr.rWrw�co_name�f_localsrHr�rs�strip)r �frame_lineno�lprefixr1r
rIrr-�s�rvr8s           r�format_stack_entry�Bdb.format_stack_entrycs���	"�$�
���<�<���� 8� 8�9�� �&�)���<�<���
���%�%�%�A�
��O�A�	�T�	���5�>�>�)�����-�B�
��I�A�
���b�!�!�A����$�$�X�u���G�D���t�z�z�|�+�+����
�9�3�4�4�A��rc��UcSSKnURnUcUnUR5 [U[5(a
[USS5n[R"UR5 [XU5 SUl[R"S5 g![a N*f=f!SUl[R"S5 f=f)ztDebug a statement executed via the exec() function.

globals defaults to __main__.dict; locals defaults to globals.
Nrz<string>�execT)�__main__�__dict__r5�
isinstancer~�compiler�r�rErrr@)r �cmd�globals�localsrs     r�run�Bdb.run�s���
�?���'�'�G��>��F��
�
���c�3����#�z�6�2�C����T�(�(�)�	���v�&�!�D�M��L�L����	�	��	��!�D�M��L�L���s$�,B�
B#� B&�"B#�#B&�&Cc��UcSSKnURnUcUnUR5 [R"UR
5 [
XU5SUl[R"S5 $![a Of=fSUl[R"S5 g!SUl[R"S5 f=f)zvDebug an expression executed via the eval() function.

globals defaults to __main__.dict; locals defaults to globals.
NrT)	rrr5r�r�rE�evalr@r)r �exprrrrs     r�runeval�Bdb.runeval�s���
�?���'�'�G��>��F��
�
�����T�(�(�)�	���v�.�!�D�M��L�L����	�	��	��� �D�M��L�L����!�D�M��L�L���s$�
A3�3
B�=B"�?B�B"�"Cc�(�URXU5 g)z.For backwards-compatibility.  Defers to run().N)r )r rrrs    r�runctx�
Bdb.runctx�s��	
����v�&rc��UR5 [R"UR5 SnU"U0UD6nSUl[R"S5 U$![a N+f=f!SUl[R"S5 f=f)zGDebug a single function call.

Return the result of the function call.
NT)r5r�r�rErr@)r �func�args�kwds�ress     r�runcall�Bdb.runcall�s|��
	
�
�
�����T�(�(�)���	���%��%�C�!�D�M��L�L����
���	��	��!�D�M��L�L���s#�A�
A(�%A+�'A(�(A+�+B
)
r3rr{rrrrr@r^rrVr`rr�)rF�FNN)z: �NN)7rr
rrrr!r.r5rErArBrCrDrFrprNrOr}rUrZrPr_rfrjr�r4rar�r�r�r�r�r�r�r�r�r�rr�r�r�r�r�r�r�r�r�r�rrr r%r(r/rrrrrrs
���	��"'�.#�`
#�#�,#�6#�6	#��
��6O�E�
�
�
�
�
�%�
(�7�1�'�4�(�4�*�&0�$�"&�AE���0	2�&��"�
���(,�6�	���.�D�,�('�rrc�4�[5R5 g)z<Start debugging with a Bdb instance from the caller's frame.N)rr�rrrr�r��s���E�O�O�rc�h�\rSrSrSrSr0rS/rSSjr\	S5r
SrSrS	r
SS
jrSrSrS
rg)ri�adBreakpoint class.

Implements temporary breakpoints, ignore counts, disabling and
(re)-enabling, and conditionals.

Breakpoints are indexed by number through bpbynumber and by
the (file, line) tuple using bplist.  The former points to a
single instance of class Breakpoint.  The latter points to a
list of such instances since there may be more than one
breakpoint per line.

When creating a breakpoint, its associated filename should be
in canonical form.  If funcname is defined, a breakpoint hit will be
counted when the first line of that function is executed.  A
conditional breakpoint always counts a hit.
r%Nc��XPlSUlXlX lX0lX@lSUlSUlSUl[RUl[=RS-
sl
URRU5 X4UR;a URX4RU5 gU/URX4'g)NTrr%)r��func_first_executable_liner�r8r|r��enabled�ignore�hitsr�nextrzr�r�r�)r r�r8r|r�r�s      rr!�Breakpoint.__init__�s��� �
�*.��'��	��	�"���	���������	� �o�o������1��������t�$��<�4�;�;�&��K�K��
�#�*�*�4�0�'+�f�D�K�K��
�#rc�H�S[l0[lS/[lg)Nr%)rr:r�r�rrr�clearBreakpoints�Breakpoint.clearBreakpoints�s���
���
��!%��
�rc���URUR4nSURUR'URURU5 URU(dURU	gg)z�Delete the breakpoint from the list associated to a file:line.

If it is the last breakpoint in that position, it also deletes
the entry for the file:line.
N)r�r8r�rzr�r�)r �indexs  rr��Breakpoint.deleteMes\�����D�I�I�&��'+�������$����E��!�!�$�'��{�{�5�!����E�"�"rc��SUlg)zMark the breakpoint as enabled.TN�r7r�s r�enable�Breakpoint.enables	����rc��SUlg)z Mark the breakpoint as disabled.FNrCr�s r�disable�Breakpoint.disables	����rc�Z�Uc[Rn[UR5US9 g)z}Print the output of bpformat().

The optional out argument directs where the output is sent
and defaults to standard output.
N)r�)r��stdoutrG�bpformat)r �outs  r�bpprint�Breakpoint.bpprints"���;��*�*�C�
�d�m�m�o�C�(rc��UR(aSnOSnUR(aUS-nOUS-nSURUURUR4-nUR
(aUSUR
<3-
nUR(aUSUR4--
nUR(a)URS:�aS	nOS
nUSURU4--
nU$)z�Return a string with information about the breakpoint.

The information includes the breakpoint number, temporary
status, file:line position, break condition, number of times to
ignore, and number of times hit.

zdel  zkeep zyes  zno   z%-4dbreakpoint   %s at %s:%dz
	stop only if z
	ignore next %d hitsr%r�z"
	breakpoint already hit %d time%s)r|r7rzr�r8r�r8r9)r �disp�ret�sss    rrK�Breakpoint.bpformat"s����>�>��D��D��<�<��'�>�D��'�>�D�,����T�04�	�	�4�9�9�0F�F���9�9��D�I�I�7�7�C��;�;��,����~�=�=�C��9�9��y�y�1�}������9�T�Y�Y��O�K�K�C��
rc�Z�SUR<SUR<SUR<3$)z1Return a condensed description of the breakpoint.zbreakpoint z at �:)rzr�r8r�s r�__str__�Breakpoint.__str__@s��+/�;�;��	�	�4�9�9�M�Mr)
r�r7r�r6r�r9r8r8rzr|r1r�)rr
rrrr:r�r�r!�staticmethodr=r�rDrGrMrKrWrrrrrr�sR���(
�D�
�F���J�-�(�'��'�
#���)��<Nrrc�"�UR(dURUR:waggURRUR:wagUR
(dURUlUR
UR:wagg)aBReturn True if break should happen here.

Whether a break should happen depends on the way that b (the breakpoint)
was set.  If it was set via line number, check if b.line is the same as
the one in the frame.  If it was set via function name, check if this is
the right function and if it is on the first executable line.
FT)r�r8rtrWrr6)�brIs  r�
checkfuncnamer\Gsm��
�:�:��6�6�U�^�^�#���
�|�|���q�z�z�)��
�'�'�',�~�~��$��#�#�u�~�~�5��rc��[RX4nUH�nUR(dM[XB5(dM(U=RS-
slUR
(d-URS:�aU=RS-slMuUS4s $[UR
URUR5nU(a-URS:�aU=RS-slM�US4s $M� g! US4ss $=f)aReturn (active breakpoint, delete temporary flag) or (None, None) as
breakpoint to act upon.

The "active breakpoint" is the first entry in bplist[line, file] (which
must exist) that is enabled, for which checkfuncname is True, and that
has neither a False condition nor a positive ignore count.  The flag,
meaning that a temporary breakpoint should be deleted, is False only
when the condiion cannot be evaluated (in which case, ignore count is
ignored).

If no such entry exists, then (None, None) is returned.
r%rTFr2)
rr�r7r\r9r�r8r#rsr)r�r8rI�	possiblesr[�vals      rryrygs����!�!�$�*�-�I�
���y�y���Q�&�&��	���!����v�v��x�x�!�|����A�
����4�y� �

"��1�6�6�5�?�?�E�N�N�C����x�x�!�|����A�
��!"�4�y�(��+�D��
"��5�z�!�s�AC7�,C7�7Dc�,�\rSrSrSrSrSrSrSrg)�Tdbi�c�Z�URRnU(dSn[SX25 g)N�???z+++ call)rWrrG)r rIr,�names    rrZ�
Tdb.user_call�s"���|�|�#�#���E�T�
�j�$�%rc	�.�SSKnURRnU(dSnURURR5nURXARUR5n[SXARUSUR55 g)Nrrcz+++rV)
r1rWrr.rwr�rtrsrGr)r rIr1rd�fnr8s      rrP�
Tdb.user_line�sg����|�|�#�#���E�T�
�\�\�%�,�,�2�2�
3��� � ��^�^�U�_�_�E��
�e�R����s�D�J�J�L�Arc��[SU5 g)Nz
+++ return�rG)r rI�retvals   rr_�Tdb.user_return�s��
�l�F�#rc�<�[SU5 UR5 g)Nz
+++ exception)rGr�)r rI�	exc_stuffs   rrf�Tdb.user_exception�s��
�o�y�)����rrN)	rr
rrrZrPr_rfrrrrrara�s��&�B�$�rrac�R�[SUS5 [US-5n[SU5 g)Nzfoo(r�
zbar returned)rG�bar)�n�xs  r�fooru�s%��	�&�!�S���A�b�D�	�A�	�.�!�rc�&�[SUS5 US-$)Nzbar(rrdrj)�as rrrrr�s��	�&�!�S���Q�3�Jrc�:�[5nURS5 g)Nzimport bdb; bdb.foo(10))rar )rs r�testry�s����A��E�E�
#�$r)rrmr�r)�inspectrrr�__all__rY�	Exceptionrrr�rr\ryrarurrryrrr�<module>r}s�����
�	�B�B�
*�� ,�|� ;�>P� P��+�i�+�t
�t
�n�
uN�uN�t�@0�j�#��$�
�%r
© 2025 GrazzMean-Shell