foundry_debugger::node

Function flatten_call_trace

Source
pub fn flatten_call_trace(arena: CallTraceArena, out: &mut Vec<DebugNode>)
Expand description

Flattens given [CallTraceArena] into a list of DebugNodes.

This is done by recursively traversing the call tree and collecting the steps in-between the calls.