From d6590dbab165c8a060975d15f3de16d0cace68f3 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Sun, 10 Sep 2023 23:57:13 -0400 Subject: [PATCH] changing lines --- labs/03_debugging/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/labs/03_debugging/README.md b/labs/03_debugging/README.md index 191e87f..5175698 100644 --- a/labs/03_debugging/README.md +++ b/labs/03_debugging/README.md @@ -170,11 +170,11 @@ break line.cpp:31 ``` Set a breakpoint at some point in your code just before (in order of execution!) you think the first error might occur. Finally, in order to actually start running the program under control of the debugger, -you will need to type *run* at the gdb command line. +you will need to type *run* at the gdb command line. 4. Stepping through the program: You can step through the code using the commands *next* (move to the next line of code), *step* (enter the function), and *finish* (leave the function). The command *continue* allows you to move to the -next breakpoint. +next breakpoint. 5. Examining the content of variables: - You can use *print* to see the values of variables and expressions. - You can use the command *display* to see the contents of a particular variable or expression when the