dbgtools-win

Crates.iodbgtools-win
lib.rsdbgtools-win
version0.2.1
sourcesrc
created_at2021-03-07 15:48:20.057893
updated_at2021-05-03 11:28:17.703116
descriptionExpensive and intrusive debugging tools (for Windows)
homepage
repositoryhttps://github.com/openqrnch/dbgtools-win
max_upload_size
id365273
size28,692
qj (qrnch-jan)

documentation

README

dbgtools-win

A set of platform-specific functions that can be useful when debugging userland Windows applications and libraries.

Usage

This crate is meant to be used in development environments only. Its functions are tightly tied to other development tools, and it may add significant overhead to your code.

The recommended way to use dbgtools is to add it as an optional feature so that it is only compiled into your project when it's needed for debugging:

In Cargo.toml:

[dependencies]
dbgtools-win = { version = "0.2", optional = true }

In code:

// Wait for a debugger to connect and break as soon as it has
#[cfg(feature="dbgtools-win")]
dbgtools_win::debugger::wait_for_then_break();

Build using:

cargo build --features dbgtools-win

See also

  • verboten - A simple Windows service wrapper for msvsmon, the remote debugging server for Visual Studio.
Commit count: 3

cargo fmt