Fix handling of stackTrace request with levels == 0
commit00feabe94d2bb5c28126d890bb07ae3a0d055d8b
authorEric Bluestein <ericblue@fb.com>
Fri, 20 Jul 2018 22:00:30 +0000 (20 15:00 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 20 Jul 2018 22:14:09 +0000 (20 15:14 -0700)
tree2bf9ee5707fc0e3f37de17c4bb6c37f0d3c2f4fb
parentdd9a10f07ad08dd04751b10b64c621589a527dc4
Fix handling of stackTrace request with levels == 0

Summary: Per the protocol, all frames are to be returned if the client specifies levels = 0

Reviewed By: Goom11

Differential Revision: D8937713

fbshipit-source-id: 3b833203eabe771a7c7e17bc763a1fa6e3a03dfb
hphp/runtime/ext/vsdebug/stack_trace_command.cpp