mirror of
https://github.com/davrot/pytutorial.git
synced 2025-04-18 21:26:41 +02:00
Update README.md
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
parent
54d0ef22f4
commit
5a022cfd89
1 changed files with 14 additions and 11 deletions
|
@ -35,21 +35,24 @@ click is ignored. Why? I don't know.
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
Debugger controls
|
## Debugger controls
|
||||||
Control toolbar
|
### Control toolbar
|
||||||
|
|
||||||
|
|||
|
||||||
|
|---|---|
|
||||||
|
|| Continue -- Debugger continues to run the code until the next breakpoint is reached or until the program ends. If end of the program is reached, the debugger closes. |
|
||||||
|
|| Step Over|
|
||||||
|
|| Step Into|
|
||||||
|
|| Step Out|
|
||||||
|
|| Restart -- Starts the debugging process from the beginning. |
|
||||||
|
|| Stop -- Stops the debugging and the debugger closes.|
|
||||||
|
|
||||||
|
|
||||||
Continue -- Debugger continues to run the code until the next breakpoint is reached or until the program ends. If end of the program is reached, the debugger closes.
|
### Continue vs Step Over vs Step Into vs Step Out
|
||||||
Step Over
|
|
||||||
Step Into
|
|
||||||
Step Out
|
|
||||||
Restart -- Starts the debugging process from the beginning.
|
|
||||||
Stop -- Stops the debugging and the debugger closes.
|
|
||||||
|
|
||||||
|
|
||||||
Continue vs Step Over vs Step Into vs Step Out
|
|
||||||
Example code:
|
Example code:
|
||||||
|
|
||||||
|
```python
|
||||||
# %%
|
# %%
|
||||||
def function(x: int) -> int:
|
def function(x: int) -> int:
|
||||||
x += 1
|
x += 1
|
||||||
|
@ -63,7 +66,7 @@ x = 1
|
||||||
x = function(x)
|
x = function(x)
|
||||||
x = function(x)
|
x = function(x)
|
||||||
x = function(x)
|
x = function(x)
|
||||||
|
```
|
||||||
|
|
||||||
Continue
|
Continue
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue