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 | |
---|---|
Name | Description |
filename |
string
[optional] The name of the file to create in the
system's temp directory. Defaults to |
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
DEFAULT_FILENAME
Value: 'debugger-breakpoints'