Debug_Info module

parse_pdb

procedureSource

Opens a PDB file: its container, signature, name table and type records. Returns false, and logs why, if it cannot. file_content must stay alive as long as the result is used.

Example↗
ok, pdb := parse_pdb("not a pdb");
assert(!ok);
parse_pdb :: (
    file_content: string,
    path := "",
    verbose := false
) -> (success: bool, Pdb)

Parameters

file_content: string
path := ""
verbose := false

Returns

success: bool

See also