Closed
Description
I compiled the following program and started debugging in Windbg:
fn main() {
let x: i32 = 123;
let y: i32 = x * 2;
let closure = || {
x + y
};
std::process::exit(closure());
}
but after stepping inside closure
, it's not possible to inspect the x
or y
variables.
Meta
rustc --version --verbose
:
rustc 1.52.0-nightly (4a8b6f708 2021-03-11)
binary: rustc
commit-hash: 4a8b6f708c38342a6c74aa00cf4323774c7381a6
commit-date: 2021-03-11
host: x86_64-pc-windows-msvc
release: 1.52.0-nightly
LLVM version: 12.0.0
Windbg 1.2103.01004.0