Skip to main content

Module debug

Module debug 

Source

Re-exportsΒ§

use alloy_primitives::Bytes; πŸ”’
use foundry_cli::utils::TraceResult; πŸ”’
use foundry_cli::utils::print_traces; πŸ”’
use foundry_common::ContractsByArtifactBuilder; πŸ”’
use foundry_common::compile::ProjectCompiler; πŸ”’
use foundry_common::namespaced_storage; πŸ”’
use foundry_common::shell; πŸ”’
use foundry_compilers::artifacts::output_selection::ContractOutputSelection; πŸ”’
use foundry_config::Config; πŸ”’
use foundry_config::FoundryHardfork; πŸ”’
use foundry_config::TracingConfig; πŸ”’
use foundry_debugger::DebuggerBuilder; πŸ”’
use foundry_evm::opts::ForkEndpointIdentity; πŸ”’
use foundry_evm::traces::CallTraceDecoderBuilder; πŸ”’
use foundry_evm::traces::DebugTraceIdentifier; πŸ”’
use foundry_evm::traces::TraceContext; πŸ”’
use foundry_evm::traces::debug::ContractSources; πŸ”’
use foundry_evm::traces::erc8021::Attribution; πŸ”’
use foundry_evm::traces::identifier::SignaturesIdentifier; πŸ”’
use foundry_evm::traces::identifier::TraceIdentifiers; πŸ”’
use foundry_evm_networks::NetworkVariant; πŸ”’
use itertools::Itertools; πŸ”’

FunctionsΒ§

ensure_remote_trace_context_unchanged πŸ”’
handle_traces πŸ”’
labels the traces, conditionally prints them or opens the debugger
resolve_remote_trace_hardfork πŸ”’
Resolves the hardfork used to decode a trace executed by the remote node. A configured hardfork is an explicit override; otherwise an Anvil endpoint’s exact execution hardfork is honored before consulting the source chain’s schedule at block_timestamp.
select_remote_trace_hardfork πŸ”’