Test conditional breakpoints and re-enable "called from" breakpoints
commit959d6b5d3d9c649871835e3457770bab65e112b5
authorHerman Venter <hermanv@fb.com>
Mon, 1 Jul 2013 22:10:06 +0000 (1 15:10 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 2 Jul 2013 18:46:25 +0000 (2 11:46 -0700)
treeb79dc273a071dbe10df622b88cd90448d2b8083d
parent7a9769a95b0234bab59b5154515fcfe669da0688
Test conditional breakpoints and re-enable "called from" breakpoints

Added some test cases. Also now permit caller=>func() type of breakpoints. To make this work, I added a method, getCallingSite, to class InterruptSite and use this to walk the stack when checking if a site matches a break point that has more than one function name.
hphp/doc/debugger.refs
hphp/runtime/debugger/break_point.cpp
hphp/runtime/debugger/break_point.h
hphp/runtime/debugger/cmd/cmd_break.cpp
hphp/test/quick/debugger/break1.php
hphp/test/quick/debugger/break1.php.expectf
hphp/test/quick/debugger/break1.php.in