736f997ba8
Debugger tests that run hphp in non local mode (i.e. with the "-h some-server:some-port" option specified) currently use a clunky specialized C++ test harness that invokes PHP scripts that talk to the debugger client via the obsolete client API. This revision moves those tests to the new PHP only framework. The debugger client is now controlled by piping in commands, just like the other debugger tests. The main difference is that the debugger client is connected to a server instance and a separate PHP driver is used to load the server, load the client, and then load pages from the server so that the client can hit breakpoints. It also checks that the client can respond to ctrl-c by actually sending a SIGINT signal to the client process.
26 linhas
320 B
Plaintext
26 linhas
320 B
Plaintext
break break1.php:7
|
|
continue
|
|
variable
|
|
break clear all
|
|
break foo()
|
|
continue
|
|
break clear all
|
|
break cls::pubObj()
|
|
continue
|
|
break clear all
|
|
break cls::pubCls()
|
|
continue
|
|
break clear all
|
|
continue
|
|
continue
|
|
@ $a = 0
|
|
break test1.php:18
|
|
continue
|
|
p $a
|
|
break clear all
|
|
break end test1.php
|
|
continue
|
|
break psp test1.php
|
|
continue
|
|
quit
|