Stackdriver Debugger Client - Class FileBreakpointStorage (1.4.16)

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

This implementation of BreakpointStorageInterface using a local file.

Methods

__construct

Create a new FileBreakpointStorage instance.

Parameter
NameDescription
filename string

[optional] The name of the file to create in the system's temp directory. Defaults to debugger-breakpoints.

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

DEFAULT_FILENAME

Value: 'debugger-breakpoints'