Debugger/src/Agent.php
public function reportBreakpoints(array $breakpointsInfo)
    {
        $client = $this->defaultClient();
        foreach ($breakpointsInfo as $breakpointInfo) {
            list($debuggeeId, $breakpoint) = $breakpointInfo;
            $debuggee = $client->debuggee($debuggeeId);

            $backoff = new ExponentialBackoff();
            try {
                $backoff->execute(function () use ($breakpoint, $debuggee) {
                    $debuggee->updateBreakpoint($breakpoint);
                });
            } catch (ServiceException $e) {
                // Ignore this error for now
            }
        }
    }
public function reportBreakpoints(array $breakpointsInfo)
    {
        $client = $this->defaultClient();
        foreach ($breakpointsInfo as $breakpointInfo) {
            list($debuggeeId, $breakpoint) = $breakpointInfo;
            $debuggee = $client->debuggee($debuggeeId);

            $backoff = new ExponentialBackoff();
            try {
                $backoff->execute(function () use ($breakpoint, $debuggee) {
                    $debuggee->updateBreakpoint($breakpoint);
                });
            } catch (ServiceException $e) {
                // Ignore this error for now
            }
        }
    }
public function reportBreakpoints ( array $ breakpointsInfo ) { $ client = $ this -> defaultClient ( ) ; foreach ( $ breakpointsInfo as $ breakpointInfo ) { list ( $ debuggeeId , $ breakpoint ) = $ breakpointInfo ; $ debuggee = $ client -> debuggee ( $ debuggeeId ) ; $ backoff = new ExponentialBackoff ( ) ; try { $ backoff -> execute ( function ( ) use ( $ breakpoint , $ debuggee ) { $ debuggee -> updateBreakpoint ( $ breakpoint ) ; } ) ; } catch ( ServiceException $ e ) { // Ignore this error for now } } }
Callback for batch runner to report a breakpoint.

@access private
@param array $breakpointsInfo
Callback for batch runner to report a breakpoint .