Crate debug_here

Source
Expand description

This crate provides a macro for launching the debugger most appropriate for your platform in a new terminal. The first time a program executes the debug_here!() macro, it launches a new terminal and automatically attaches either rust-gdb or rust-lldb to your program at the location of the macro.

The README contains more details and examples.

The debug-me program provides a concrete usage example.

Modules§

  • This module contains the internal implementation of debug-here. Nothing in this module is part of the public api of debug-here, even if it is marked pub.

Macros§

  • The debug here macro. Just invoke this macro somewhere in your source, and when your program reaches it a terminal running rust-gdb or rust-lldb will launch.