Arquivos
hhvm/hphp/test/quick/debugger/printThis.php.expectf
T
Herman Venter 8d25c0f6f2 Give feedback if breakpoints won't hit because a file is not loaded, a class is not loaded, or a function is not loaded
The debugger client now accepts feedback from the the debugger server about whether a breakpoint can be hit, absent further loads of files, classes or functions.
2013-06-21 11:44:40 -07:00

31 linhas
601 B
Plaintext

Program %s/printThis.php loaded. Type '[r]un' or '[c]ontinue' to go.
%Sbreak printThis.php:5
Breakpoint 1 set on line 5 of printThis.php
But wont break until file printThis.php has been loaded.
run
Breakpoint 1 reached at Foo::method() on line 5 of %s/printThis.php
4 function method() {
5 $other = $this;
6 }
print $this
Foo Object
(
[prop] => "Hello\n"
)
continue
Breakpoint 1 reached at Foo::method() on line 5 of %s/printThis.php
4 function method() {
5 $other = $this;
6 }
print $this
Foo Object
(
[prop] => "Hello\n"
[prop2] => "\tThere"
)
quit