pub struct DebugInformation<'s> { /* fields omitted */ }
Provides access to the "DBI" stream inside the PDB.
This is only minimally implemented; it's really just so PDB
can find the global symbol table.
let file = std::fs::File::open("fixtures/self/foo.pdb")?;
let mut pdb = pdb::PDB::open(file)?;
let dbi = pdb.debug_information()?;
let mut modules = dbi.modules()?;
while let Some(module) = modules.next()? {
println!("module name: {}, object file name: {}",
module.module_name(), module.object_file_name());
}
Returns an iterator that can traverse the modules list in sequential order.
Formats the value using the given formatter. Read more