| Server IP : 121.121.20.254 / Your IP : 216.73.216.144 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/test/test_gdb/__pycache__/ |
Upload File : |
�
���g � �` � d dl Z d dlZd dlmZ d dlmZ ddlmZmZm Z m
Z
d� Z G d� de� Zy) � N)�support)�python_is_optimized� )�setup_module�
DebuggerTests�CET_PROTECTION�
SAMPLE_SCRIPTc � � t � y )N)r � � �1C:\Python312\\Lib\test\test_gdb\test_backtrace.py�setUpModuler s � ��Nr c �b � e Zd Z ej e� d� d� � Z ej e� d� d� � Z ej e� d� ej d� d� � � Z
ej e� d� d� � Z ej e� d� d� � Zy) � PyBtTestsz&Python was compiled with optimizationsc �Z � | j t dg�� }| j |d� y )N�py-bt��script�cmds_after_breakpointaL ^.*
Traceback \(most recent call first\):
<built-in method id of module object .*>
File ".*gdb_sample.py", line 10, in baz
id\(42\)
File ".*gdb_sample.py", line 7, in bar
baz\(a, b, c\)
File ".*gdb_sample.py", line 4, in foo
bar\(a=a, b=b, c=c\)
File ".*gdb_sample.py", line 12, in <module>
foo\(1, 2, 3\)
��get_stack_tracer �assertMultilineMatches��self�bts r
�test_btzPyBtTests.test_bt s9 � � 0�
�
!�
!��9@� � "� C���#�#�B�%� r c �Z � | j t dg�� }| j |d� y )N�
py-bt-fullr aD ^.*
#[0-9]+ Frame 0x-?[0-9a-f]+, for file .*gdb_sample.py, line 7, in bar \(a=1, b=2, c=3\)
baz\(a, b, c\)
#[0-9]+ Frame 0x-?[0-9a-f]+, for file .*gdb_sample.py, line 4, in foo \(a=1, b=2, c=3\)
bar\(a=a, b=b, c=c\)
#[0-9]+ Frame 0x-?[0-9a-f]+, for file .*gdb_sample.py, line 12, in <module> \(\)
foo\(1, 2, 3\)
r r s r
�test_bt_fullzPyBtTests.test_bt_full"