Crates.io | breakpoint |
lib.rs | breakpoint |
version | |
source | src |
created_at | 2015-08-03 16:59:25.881125 |
updated_at | 2015-12-11 23:57:49.028558 |
description | Set breakpoints with the `breakpoint!()` macro. |
homepage | https://github.com/fitzgen/breakpoint-rs |
repository | https://github.com/fitzgen/breakpoint-rs.git |
max_upload_size | |
id | 2750 |
Cargo.toml error: | TOML parse error at line 11, column 1 | 11 | tags = ["breakpoint", "debug", "int3", "debugger"] | ^^^^ unknown field `tags`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
breakpoint!()
Add to Cargo.toml
:
[dependencies]
breakpoint = "0.1.0"
Import the macro into your crate:
#![feature(asm)]
#[macro_use] extern crate breakpoint;
Set breakpoints!
breakpoint!();
Set breakpoints with conditions!
breakpoint!(ref_count == 1);