From ef1563b40522f945f54814083e542729318082db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik@tjaders.com> Date: Tue, 23 Jan 2018 13:51:20 +0100 Subject: [PATCH] bare0_1 --- examples/bare0.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/bare0.rs b/examples/bare0.rs index cb4eb7e..c63d88e 100644 --- a/examples/bare0.rs +++ b/examples/bare0.rs @@ -26,20 +26,22 @@ fn main() { assert!(x == X && X == Y); } } + } } // 1. run the program in the debugger, // let the program run for a while and then press pause // look in the (Local -vscode) Variables view what do you find -// ** your answer here ** +// x: 7852532 // // in the Expressions (WATCH -vscode) view add X and Y // what do you find // -// ** your answer here ** +// X: 785232 +// Y: 785232 // step through one complete iteration of the loop // and see how the (Local) Variables are updated // can you foresee what will eventually happen? -// ** place your answer here ** +// Yes // // commit your answers (bare0_1) // -- GitLab