pub struct Debugger {
pub verbose: bool,
pub colored: bool,
}Expand description
Main debugger interface for Decy transpiler
Provides introspective debugging capabilities by integrating with spydecy-debugger and adding C-specific visualizations.
Fields§
§verbose: boolEnable verbose output
colored: boolEnable colored output (default: true)
Implementations§
Source§impl Debugger
impl Debugger
Sourcepub fn visualize_c_ast(&self, file_path: &Path) -> Result<String>
pub fn visualize_c_ast(&self, file_path: &Path) -> Result<String>
Sourcepub fn visualize_hir(&self, file_path: &Path) -> Result<String>
pub fn visualize_hir(&self, file_path: &Path) -> Result<String>
Visualize HIR (High-level IR) conversion
§Errors
Returns an error if the file cannot be read, parsed, or converted to HIR
Sourcepub fn visualize_ownership(&self, file_path: &Path) -> Result<String>
pub fn visualize_ownership(&self, file_path: &Path) -> Result<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Debugger
impl RefUnwindSafe for Debugger
impl Send for Debugger
impl Sync for Debugger
impl Unpin for Debugger
impl UnwindSafe for Debugger
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more