Skip to main content

miden_debug/
lib.rs

1pub use miden_debug_engine::{debug, debug_types, events, exec, felt, processor};
2
3mod config;
4#[cfg(feature = "dap")]
5mod dap_server;
6#[cfg(feature = "flamegraph")]
7pub mod flamegraph;
8mod input;
9mod linker;
10
11#[cfg(any(feature = "tui", feature = "repl"))]
12pub mod logger;
13#[cfg(any(feature = "tui", feature = "repl"))]
14mod ui;
15
16#[cfg(feature = "repl")]
17mod repl;
18
19#[cfg(feature = "dap")]
20pub use self::dap_server::run as run_dap_server;
21#[cfg(feature = "repl")]
22pub use self::repl::{run as run_repl, run_with_log_level as run_repl_with_log_level};
23#[cfg(feature = "tui")]
24pub use self::ui::{
25    DebugMode, State, run, run_with_log_level, run_with_state, run_with_state_and_log_level,
26};
27pub use self::{
28    config::{ColorChoice, DebuggerConfig},
29    debug::*,
30    exec::*,
31    felt::{
32        Felt, FromMidenRepr, RawFelt, ToMidenRepr, bytes_to_words, push_wasm_ty_to_operand_stack,
33    },
34    input::InputFile,
35    linker::{LibraryKind, LinkLibrary},
36};