Arquivos
hhvm/hphp/test/quick/debugger/break_async.php.in
T
Mike Magruder 3fea3d93f7 Fix breakpoints on generators
Setting a breakpoint on a generator would work, but it would set it on the function which simply returns the continuation. That's not super-useful, and the intention is to set it on the beginning of the generator. Changed to do that. This change also gets the $continuation off of the function name when printing it at breakpoints.

Differential Revision: D931931
2013-08-19 10:15:19 -07:00

14 linhas
67 B
Plaintext

break gen1()
b main()
continue
break genFoo()
c
n
c
n
c
n
n
c
quit