Arquivos
hhvm/hphp/test/quick/debugger/flow_pseudomain.php.expectf
T
Mike Magruder f051e2fe04 Don't go back to the interpreter after the end of pseudo main when debugging
Fix a long-standing bug where if you step off of the end of pseudo main we'd segfault in the interpreter loop. To get this we have to have a breakpoint in the final TC in pseudo main, and have that called from another TC, then Step or Next off the end. We'd end up with a PC of zero after the ret, which makes sense, but the logic after interpreting a block of code to stay in the interpreter when debugging was blind to this case.
2013-07-15 17:34:47 -07:00

14 linhas
366 B
Plaintext

Program %s/flow_pseudomain.php loaded. Type '[r]un' or '[c]ontinue' to go.
break 5
Breakpoint 1 set on line 5 of %s/flow_pseudomain.php
But wont break until file %s/flow_pseudomain.php has been loaded.
continue
Breakpoint 1 reached on line 5 of %s/flow_pseudomain.php
4 $x = 1;
5 echo $x;
6 (END)
step
1Program %s/flow_pseudomain.php exited normally.
quit