Stackdriver Debugger V2 Client - Class SourceLocation (1.6.4)

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

Represents a location in the source code.

Generated from protobuf message google.devtools.clouddebugger.v2.SourceLocation

Namespace

Google \ Cloud \ Debugger \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ path string

Path to the source file within the source context of the target binary.

↳ line int

Line inside the file. The first line in the file has the value 1.

↳ column int

Column within a line. The first column in a line as the value 1. Agents that do not support setting breakpoints on specific columns ignore this field.

getPath

Path to the source file within the source context of the target binary.

Returns
TypeDescription
string

setPath

Path to the source file within the source context of the target binary.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLine

Line inside the file. The first line in the file has the value 1.

Returns
TypeDescription
int

setLine

Line inside the file. The first line in the file has the value 1.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getColumn

Column within a line. The first column in a line as the value 1.

Agents that do not support setting breakpoints on specific columns ignore this field.

Returns
TypeDescription
int

setColumn

Column within a line. The first column in a line as the value 1.

Agents that do not support setting breakpoints on specific columns ignore this field.

Parameter
NameDescription
var int
Returns
TypeDescription
$this