struct InputLocation

Defined at line 27 of file ../../src/developer/debug/zxdb/symbols/input_location.h

Used for specifying the input location for things like "run to here" and breakpoints. For these

use-cases the user might specify the location in a variety of forms.

See also the "Location" object which is an output location that provides all information

(address, symbols, etc.) for some state.

For the symbol name and file name options, the name name must match exactly the full version of

that from the symbol system. The caller will need to have resolve file names with the

symbol system prior to setting.

Public Members

Type type
FileLine line
IdentifierBase name
uint64_t address

Public Methods

const char * TypeToString (Type type)

Converts the input location type to a string. This is intended to be used in error messages.

Defined at line 13 of file ../../src/developer/debug/zxdb/symbols/input_location.cc

std::string ToString ()

Returns a string representation of this input location for debug logging.

Defined at line 28 of file ../../src/developer/debug/zxdb/symbols/input_location.cc

void InputLocation ()

Defined at line 35 of file ../../src/developer/debug/zxdb/symbols/input_location.h

void InputLocation (FileLine file_line)

Defined at line 36 of file ../../src/developer/debug/zxdb/symbols/input_location.h

void InputLocation (Identifier name)

Defined at line 37 of file ../../src/developer/debug/zxdb/symbols/input_location.h

void InputLocation (uint64_t address)

Defined at line 38 of file ../../src/developer/debug/zxdb/symbols/input_location.h

bool operator!= (const InputLocation & other)

Defined at line 47 of file ../../src/developer/debug/zxdb/symbols/input_location.h

bool operator== (const InputLocation & other)

Defined at line 47 of file ../../src/developer/debug/zxdb/symbols/input_location.cc

Enumerations

enum Type
Name Value
kNone 0
kLine 1
kName 2
kAddress 3

Defined at line 28 of file ../../src/developer/debug/zxdb/symbols/input_location.h