524ada08bc
It seems that on some machine configurations the readline library has the bad idea of spewing some control characters to stdout. This causes failures in any test that is reading from the command line, which currently only happens in debugger tests. Possibly this behavior shows up on the continuous build machines, so we'll make the expected output provide for this variation, just in case.
114 linhas
2.7 KiB
Plaintext
114 linhas
2.7 KiB
Plaintext
Program %s/break1.php loaded. Type '[r]un' or '[c]ontinue' to go.
|
|
%Srun
|
|
break1.php loaded
|
|
Program %s/break1.php exited normally.
|
|
break break1.php:7
|
|
Breakpoint 1 set on line 7 of break1.php
|
|
break break1.php:77
|
|
Breakpoint 2 not set on line 77 of break1.php
|
|
Because the line does not exist or is not executable code.
|
|
break list
|
|
1 ALWAYS on line 7 of break1.php
|
|
@ foo('test_break1')
|
|
Breakpoint 1 reached at foo() on line 7 of %s/break1.php
|
|
6 $y = $x.'_suffix';
|
|
7 error_log($y);
|
|
8 }
|
|
|
|
variable
|
|
$x = "test_break1"
|
|
$y = "test_break1_suffix"
|
|
break list
|
|
1 ALWAYS on line 7 of break1.php
|
|
break clear all
|
|
All breakpoints are cleared.
|
|
continue
|
|
test_break1_suffix
|
|
|
|
break foo()
|
|
Breakpoint 1 set upon entering foo()
|
|
@ foo('test_break2')
|
|
Breakpoint 1 reached at foo() on line 6 of %s/break1.php
|
|
5 function foo($x) {
|
|
6 $y = $x.'_suffix';
|
|
7 error_log($y);
|
|
|
|
variable
|
|
$x = "test_break2"
|
|
break clear all
|
|
All breakpoints are cleared.
|
|
continue
|
|
test_break2_suffix
|
|
|
|
break cls::pubObj()
|
|
Breakpoint 1 set upon entering cls::pubObj()
|
|
@ $break3=new cls()
|
|
|
|
@ $break3->pubObj('test_break3')
|
|
Breakpoint 1 reached at cls::pubObj() on line 12 of %s/break1.php
|
|
11 public function pubObj($x) {
|
|
12 error_log("pubObj:".$x);
|
|
13 }
|
|
|
|
variable
|
|
$x = "test_break3"
|
|
break clear all
|
|
All breakpoints are cleared.
|
|
continue
|
|
pubObj:test_break3
|
|
|
|
break cls::pubCls()
|
|
Breakpoint 1 set upon entering cls::pubCls()
|
|
@ cls::pubCls('test_break4')
|
|
Breakpoint 1 reached at cls::pubCls() on line 15 of %s/break1.php
|
|
14 public static function pubCls($x) {
|
|
15 error_log("pubCls:".$x);
|
|
16 }
|
|
|
|
variable
|
|
$x = "test_break4"
|
|
break clear all
|
|
All breakpoints are cleared.
|
|
continue
|
|
pubCls:test_break4
|
|
|
|
@ $break5=new cls()
|
|
|
|
@ $break5->pubHardBreak('test_break5')
|
|
pubHardBreak:test_break5
|
|
Break at cls::pubHardBreak() on line 19 of %s/break1.php
|
|
18 error_log("pubHardBreak:".$x);
|
|
19 hphpd_break();
|
|
20 error_log("pubHardBreak:done");
|
|
|
|
continue
|
|
pubHardBreak:done
|
|
|
|
break clear all
|
|
There is no breakpoint to clear or toggle.
|
|
break cls::nosuchMethod()
|
|
Breakpoint 1 not set upon entering cls::nosuchMethod()
|
|
Because method cls::nosuchMethod does not exist.
|
|
break list
|
|
break noSuchFunction()
|
|
Breakpoint 1 set upon entering noSuchFunction()
|
|
But wont break until function noSuchFunction has been loaded.
|
|
break list
|
|
1 ALWAYS upon entering noSuchFunction() (unbound)
|
|
break clear all
|
|
All breakpoints are cleared.
|
|
break derived::pubObj()
|
|
Breakpoint 1 set upon entering derived::pubObj()
|
|
@ $break6 = new derived()
|
|
|
|
@ $break6->pubObj('test_break6')
|
|
Breakpoint 1 reached at cls::pubObj() on line 12 of %s/break1.php
|
|
11 public function pubObj($x) {
|
|
12 error_log("pubObj:".$x);
|
|
13 }
|
|
|
|
continue
|
|
pubObj:test_break6
|
|
|
|
quit
|