Skip to content

Commit 3bc10c1

Browse files
committed
art rename
1 parent 5c5033a commit 3bc10c1

7 files changed

+6
-6
lines changed

docs/get-started/csharp/tutorial-console-part-2.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ The Visual Studio debugger is a powerful tool that allows you to run your code s
335335

336336
The red circle that appears indicates a breakpoint. You can use breakpoints to pause your app and inspect code. You can set a breakpoint on any executable line of code.
337337

338-
![Screenshot of setting a breakpoint](media/vs-2019/calculator2-debug-set-breakpoint.png)
338+
![Screenshot of setting a breakpoint](media/vs-2019/calculator-2-debug-set-breakpoint.png)
339339

340340
1. Build and run the app.
341341

@@ -347,23 +347,23 @@ The Visual Studio debugger is a powerful tool that allows you to run your code s
347347

348348
The app suspends where you created the breakpoint, which is indicated by the yellow pointer on the left and the highlighted code. The highlighted code has not yet executed.
349349

350-
![Screenshot of hitting a breakpoint](media/vs-2019/calculator2-debug-hit-breakpoint.png)
350+
![Screenshot of hitting a breakpoint](media/vs-2019/calculator-2-debug-hit-breakpoint.png)
351351

352352
Now, with the app suspended you can inspect your application state.
353353

354354
## Debug: view variables
355355

356356
1. In the highlighted code, hover over variables such as `cleanNum1` and `op`. You see the current values for these variables (`8` and `d`, respectively), which appear in DataTips.
357357

358-
![Screenshot of viewing a DataTip](media/vs-2019/calculator2-debug-view-datatip.png)
358+
![Screenshot of viewing a DataTip](media/vs-2019/calculator-2-debug-view-datatip.png)
359359

360360
When debugging, checking to see whether variables hold the values you expect them to hold is often critical to fixing issues.
361361

362362
2. In the lower pane, look at the **Locals** window. (If it's closed, choose **Debug** > **Windows** > **Locals** to open it.)
363363

364364
In the Locals window, you see each variable that is currently in scope, along with its value and type.
365365

366-
![Screenshot of Locals window](media/vs-2019/calculator2-debug-locals-window.png)
366+
![Screenshot of Locals window](media/vs-2019/calculator-2-debug-locals-window.png)
367367

368368
3. Look at the **Autos** window.
369369

@@ -377,13 +377,13 @@ The Visual Studio debugger is a powerful tool that allows you to run your code s
377377

378378
Using the Step Into command, the app executes the current statement and advances to the next executable statement (usually the next line of code). The yellow pointer on the left always indicates the current statement.
379379

380-
![Screenshot of step into command](media/vs-2019/calculator2-debug-step-into.png)
380+
![Screenshot of step into command](media/vs-2019/calculator-2-debug-step-into.png)
381381

382382
You've just stepped into the `DoOperation` method in the `Calculator` class.
383383

384384
1. To get a hierarchical look at your program flow, look at the **Call Stack** window. (If it's closed, choose **Debug** > **Windows** > **Call Stack**.)
385385

386-
![Screenshot of the call stack](media/vs-2019/calculator2-debug-call-stack.png)
386+
![Screenshot of the call stack](media/vs-2019/calculator-2-debug-call-stack.png)
387387

388388
This view shows the current `Calculator.DoOperation` method, indicated by the yellow pointer, and the second row shows the function that called it, from the `Main` method in *Program.cs*. The **Call Stack** window shows the order in which methods and functions are getting called. In addition, it provides access to many debugger features, such as **Go to Source Code**, from the shortcut menu.
389389

0 commit comments

Comments
 (0)