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 program_loader;
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#[cfg(feature = "repl")]
19pub mod script;
20
21#[cfg(feature = "dap")]
22pub use self::dap_server::run as run_dap_server;
23#[cfg(feature = "repl")]
24pub use self::repl::{
25    run as run_repl, run_commands, run_with_log_level as run_repl_with_log_level,
26};
27#[cfg(feature = "tui")]
28pub use self::ui::{
29    DebugMode, State, run, run_replay_and_log_level, run_with_log_level, run_with_state,
30    run_with_state_and_log_level,
31};
32pub use self::{
33    config::{ColorChoice, DebuggerConfig},
34    debug::*,
35    exec::*,
36    felt::{
37        Felt, FromMidenRepr, RawFelt, ToMidenRepr, bytes_to_words, push_wasm_ty_to_operand_stack,
38    },
39    input::InputFile,
40};