Stackdriver Debugger Client - Class SysvBreakpointStorage (1.9.0)

Reference documentation and code samples for the Stackdriver Debugger Client class SysvBreakpointStorage.

This implementation of BreakpointStorageInterface using PHP's shared memory provided by the Semaphore Functions.

Namespace

Google \ Cloud \ Debugger \ BreakpointStorage

Methods

__construct

Prepare the key for semaphore and shared memory.

save

Save the given debugger breakpoints.

Parameters
Name Description
debuggee Google\Cloud\Debugger\Debuggee
breakpoints array<Google\Cloud\Debugger\Breakpoint>
Returns
Type Description
bool

load

Load debugger breakpoints from the storage. Returns a 2-arity array with the debuggee id and the list of breakpoints.

Returns
Type Description
array

Constants

VAR_KEY

Value: 1