1
1
Fork 0

Fixed line numbers for 'debug' task description

https://github.com/BruceEckel/AtomicKotlinExamples/issues/18
This commit is contained in:
Svetlana Isakova 2021-07-20 17:04:40 +02:00
parent 31858e9dd0
commit 1a891f4a41
1 changed files with 11 additions and 3 deletions

View File

@ -21,9 +21,17 @@ the following:
- Press <span class="shortcut">&shortcut:ToggleLineBreakpoint;</span>.
Set breakpoints on lines 4 and 5. Then begin debugging the program again and
notice how it stops at the first breakpoint. The debug window below the screen
shows you the values of all the variables. Continue the process by clicking on
Set breakpoints on lines 6 and 7:
```kotlin
x = 2
println(x)
```
Then begin debugging
the program again and notice how it stops at the first breakpoint.
The debug window below the screen shows you the values of all the variables.
Continue the process by clicking on
<span class="control">`Resume program`</span> on the left of the debug window
or pressing <span class="shortcut">&shortcut:Resume;</span>.
Notice how the value of the variable `x` changes after the assignment.