File tree Expand file tree Collapse file tree 17 files changed +84
-0
lines changed Expand file tree Collapse file tree 17 files changed +84
-0
lines changed Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
Fundamental breakpoints functionality
3
+ --SKIPIF--
4
+ <?php
5
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
6
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
7
+ }
8
+ ?>
3
9
--PHPDBG--
4
10
b 3
5
11
r
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
Preserve breakpoints on restart
3
+ --SKIPIF--
4
+ <?php
5
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
6
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
7
+ }
8
+ ?>
3
9
--PHPDBG--
4
10
b breakpoints_002.php:4
5
11
r
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
Test deleting breakpoints
3
+ --SKIPIF--
4
+ <?php
5
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
6
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
7
+ }
8
+ ?>
3
9
--PHPDBG--
4
10
b 4
5
11
b del 0
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
Test opcode breakpoints
3
+ --SKIPIF--
4
+ <?php
5
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
6
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
7
+ }
8
+ ?>
3
9
--PHPDBG--
4
10
b ZEND_ECHO
5
11
r
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
Test breaks on HANDLE_EXCEPTION
3
+ --SKIPIF--
4
+ <?php
5
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
6
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
7
+ }
8
+ ?>
3
9
--PHPDBG--
4
10
b 5
5
11
r
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
test finish and leave commands
3
+ --SKIPIF--
4
+ <?php
5
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
6
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
7
+ }
8
+ ?>
3
9
--INI--
4
10
opcache.optimization_level=0
5
11
--PHPDBG--
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
info constants test
3
+ --SKIPIF--
4
+ <?php
5
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
6
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
7
+ }
8
+ ?>
3
9
--PHPDBG--
4
10
b 10
5
11
r
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
Test next command on function boundaries
3
+ --SKIPIF--
4
+ <?php
5
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
6
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
7
+ }
8
+ ?>
3
9
--PHPDBG--
4
10
b 4
5
11
r
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
Test phpdbg_break_next() function
3
+ --SKIPIF--
4
+ <?php
5
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
6
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
7
+ }
8
+ ?>
3
9
--PHPDBG--
4
10
r
5
11
c
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
Stdin and escaped args being passed to run command
3
+ --SKIPIF--
4
+ <?php
5
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
6
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
7
+ }
8
+ ?>
3
9
--CLEAN--
4
10
<?php
5
11
@unlink ("run_002_tmp.fixture " );
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
set_exception_handler() in phpdbg
3
+ --SKIPIF--
4
+ <?php
5
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
6
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
7
+ }
8
+ ?>
3
9
--PHPDBG--
4
10
r
5
11
c
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ Test simple recursive watchpoint
5
5
if (PHP_INT_SIZE == 4 ) {
6
6
die ("xfail There may be flaws in the implementation of watchpoints that cause failures " );
7
7
}
8
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
9
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
10
+ }
8
11
if (getenv ('SKIP_ASAN ' )) {
9
12
die ("skip intentionally causes segfaults " );
10
13
}
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ Test simple array watchpoint with replace
5
5
if (PHP_INT_SIZE == 4 ) {
6
6
die ("xfail There may be flaws in the implementation of watchpoints that cause failures " );
7
7
}
8
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
9
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
10
+ }
8
11
if (getenv ('SKIP_ASAN ' )) {
9
12
die ("skip intentionally causes segfaults " );
10
13
}
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ Test simple watchpoint with replace
5
5
if (PHP_INT_SIZE == 4 ) {
6
6
die ("xfail There may be flaws in the implementation of watchpoints that cause failures " );
7
7
}
8
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
9
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
10
+ }
8
11
if (getenv ('SKIP_ASAN ' )) {
9
12
die ("skip intentionally causes segfaults " );
10
13
}
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ Test detection of inline string manipulations on zval watch
5
5
if (PHP_INT_SIZE == 4 ) {
6
6
die ("xfail There may be flaws in the implementation of watchpoints that cause failures " );
7
7
}
8
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
9
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
10
+ }
8
11
if (getenv ('SKIP_ASAN ' )) {
9
12
die ("skip intentionally causes segfaults " );
10
13
}
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ Test proper watch comparisons when having multiple levels of indirection from a
5
5
if (PHP_INT_SIZE == 4 ) {
6
6
die ("xfail There may be flaws in the implementation of watchpoints that cause failures " );
7
7
}
8
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
9
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
10
+ }
8
11
if (getenv ('SKIP_ASAN ' )) {
9
12
die ("skip intentionally causes segfaults " );
10
13
}
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ Test multiple watch elements pointing to the same watchpoint
5
5
if (PHP_INT_SIZE == 4 ) {
6
6
die ("xfail There may be flaws in the implementation of watchpoints that cause failures " );
7
7
}
8
+ if (PHP_OS_FAMILY === 'Windows ' && ini_get ('opcache.jit ' ) && ini_get ('opcache.jit_buffer_size ' )) {
9
+ die ('xfail breakpoint/watchpoint issues with JIT on Windows ' );
10
+ }
8
11
if (getenv ('SKIP_ASAN ' )) {
9
12
die ("skip intentionally causes segfaults " );
10
13
}
You can’t perform that action at this time.
0 commit comments