Stackdriver Debugger Client - Class SysvBreakpointStorage (1.6.4)

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
NameDescription
debuggee Google\Cloud\Debugger\Debuggee
breakpoints array<Google\Cloud\Debugger\Breakpoint>
Returns
TypeDescription
bool

load

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

Returns
TypeDescription
array

Constants

VAR_KEY

Value: 1