Skip to main content

build_session

Function build_session 

Source
pub fn build_session(
    profile_dir: &Path,
    programs: &BTreeMap<String, PathBuf>,
    manifest_dir: Option<&Path>,
    crate_dir: Option<&Path>,
    test_filter: Option<&str>,
) -> Result<DebugSession>
Expand description

Build the session from <profile_dir>/<test_name>/ trace directories.

programs maps base58 program_id → deployed .so path. manifest_dir points the unstripped-binary search toward the right workspace root (same convention as [crate::profile::render_all_tests]).