On Fri, 24 Apr 2009, André Hänsel wrote:
> is there any way to determine whether a breakpoint is a valid
> breakpoint?
>
> I have continued development of xdebugclient and I'd like to prevent
> lines to be marked as breakpoint when there cannot be halted.
>
> Especially in the following example I find it rather counterintuitive
> that the second line is the only valid breakpoint:
>
> $v = array(
> 'a' => foo(), // This line is the only valid breakpoint
> 'b' => bar(),
> );
Xdebug has code for this, in the form of the code coverage analysis
code, but the DBGp protocol does not provide means of conveying that
information back to the client at the moment.
with kind regards,
Derick
-- Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org twitter: @derickr and @xdebugReceived on Sat Apr 25 2009 - 11:40:58 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST