[xdebug-dev] Re: New proposed change for breakpoint_resolved xdebug protocol

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Tue, 19 Jul 2016 10:34:01 +0100 (BST)

On Mon, 18 Jul 2016, Jeffrey Tan wrote:

> While working on the new breakpoint binding experience for php/hhvm
> debugging using the new added breakpoint_resolved notification I found
> some issues during multiple requests scenario: the notification does
> not have any field to indicate which request/connection it is from.
> Why this matter? Hhvm implements each http request as a separate
> thread in hhvm process and each request will have its own xdebug
> connection with debugger client(IDE).


> However, since there is no connection id in the breakpoint_resolved
> notification we have no way to find out which IDE breakpoint it is
> associated.

Don't you know which connection it came in to? You must have read it
from the socket. As you have read the notification from the socket, you
should be able to find that out?

Received on Tue Jul 19 2016 - 10:34:01 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:04 BST