[xdebug-general] Re: An improvement idea for breakpoint_set command

From: Derick Rethans <derick[@]xdebug.org>
Date: Mon, 30 Apr 2007 08:50:13 +0200 (CEST)

Hello,

On Thu, 26 Apr 2007, Jun Monnai wrote:

> When I set breakpoint on source line where there is no code,
> the response of the breakpoint_set command does not complain
> about that. It seems okay, but the execution never stops at
> the line.
>
> I wish that the response of breakpoint_set command says
> "hey you are setting breakpoint on no-code line" or something
> like that. So a debug client can be able to issue warning
> to the user.

This is related to another feature request:
http://bugs.xdebug.org/bug_view_page.php?bug_id=200

However, it is also not trivial to do. For this to work the PHP script
needs to be parsed by the PHP interpreter and that can only be done
after a script has started. As setting a breakpoint in an IDE usually
happens before the script starts I have no idea on how to implement this
specific feature. Feel free to file at at http://bugs.xdebug.org
though.

regards,
Derick
Received on Mon Apr 30 2007 - 08:50:13 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST