diff --git a/examples/bare0.rs b/examples/bare0.rs index 25b5ad67a79c5464720fc82249f6d5685e0b96c3..1497138cf5ea77791ea4224ac8f57b92d3208c75 100644 --- a/examples/bare0.rs +++ b/examples/bare0.rs @@ -29,7 +29,7 @@ static mut Y: u32 = 0; fn main() -> ! { // local mutabale variable (changed in safe code) let mut x = unsafe { X }; - + loop { x += 1; // <- place breakpoint here (3) unsafe { @@ -52,8 +52,9 @@ fn main() -> ! { // // In the Expressions (WATCH -vscode) view add X and Y // what do you find -// -// *** -var-create: unable to create variable object (from var-create watch_X @ "X") *** +// +// *** Watch X and Y didn't work, added watch to 'bare0::X::h2583a8be644794f3' and 'bare0::Y::hef3986a5288bec08' to be able to read the variables +// X = 962669, Y = 962668 *** // // Step through one complete iteration of the loop // and see how the (Local) Variables are updated