struct FoundRow

Defined at line 57 of file ../../src/developer/debug/zxdb/symbols/line_table.h

A row from the line table, as found by |GetRowForAddress| that contains the sequence of entries

as found in the row with two important indices (which may be equal to each other):

|symbolizable_index| and |get_symbolizable| correspond to the best entry in the sequence that

is suitable for symbolizing with a valid file and line number.

|statement_index| and |get_statement| correspond to the best entry in the row for setting

breakpoints.

Other entries are likely irrelevant for the requested address but may be inspected

anyway.

Public Members

span sequence
size_t symbolizable_index
size_t statement_index

Public Methods

void FoundRow ()

Defined at line 58 of file ../../src/developer/debug/zxdb/symbols/line_table.h

void FoundRow (cpp20::span<const Row> seq, size_t symbolizable_index, size_t statement_index)

Defined at line 59 of file ../../src/developer/debug/zxdb/symbols/line_table.h

bool empty ()

Defined at line 62 of file ../../src/developer/debug/zxdb/symbols/line_table.h

const LineTable::Row & get_symbolizable ()

Returns the entry associated with the corresponding index. Call only when !empty().

In general, if this FoundRow is for finding an address to place a line based breakpoint, use

|get_breakpoint_row|. Otherwise, use |get_symbolizable_row|.

Defined at line 67 of file ../../src/developer/debug/zxdb/symbols/line_table.h

const LineTable::Row & get_statement ()

Defined at line 68 of file ../../src/developer/debug/zxdb/symbols/line_table.h