Struct pdb::DebugInformation [] [src]

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.

Example

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());
}

Methods

impl<'s> DebugInformation<'s>
[src]

[src]

Returns an iterator that can traverse the modules list in sequential order.

Trait Implementations

impl<'s> Debug for DebugInformation<'s>
[src]

[src]

Formats the value using the given formatter.