Source information for systemlib.php for use in debugging.
commitd160ad4ddb46f41b9ac48739afd5eb2c9c6b36dc
authorHerman Venter <hermanv@fb.com>
Tue, 11 Jun 2013 22:20:05 +0000 (11 15:20 -0700)
committersgolemon <sgolemon@hiphop-ubuntu-12.04-64>
Wed, 12 Jun 2013 18:34:38 +0000 (12 11:34 -0700)
tree81590aaa700054ea545144de295838d544d52462
parent6a0d728a8ad89f36bf4f4df5398bbaaca7baf8a4
Source information for systemlib.php for use in debugging.

The debugger can only hit breakpoints and list source lines for code lines that have an entry in the byte code repository. In order to make systemlib.php debuggable, it needs an entry. A customized routine has been created for doing this since there is no actual source file available. Also, special case logic is needed to list the source file during debugging.
hphp/hhvm/process_init.cpp
hphp/runtime/debugger/cmd/cmd_list.cpp
hphp/runtime/vm/runtime.cpp
hphp/test/quick/debugger/list.php [new file with mode: 0644]
hphp/test/quick/debugger/list.php.expectf [new file with mode: 0644]
hphp/test/quick/debugger/list.php.in [new file with mode: 0644]