From 5a022cfd893dac7d577c8cf9dc42d48b26370a73 Mon Sep 17 00:00:00 2001 From: David Rotermund <54365609+davrot@users.noreply.github.com> Date: Sat, 16 Dec 2023 13:33:37 +0100 Subject: [PATCH] Update README.md Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com> --- workflow/vscode_debug/README.md | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/workflow/vscode_debug/README.md b/workflow/vscode_debug/README.md index c92af35..1782fd6 100644 --- a/workflow/vscode_debug/README.md +++ b/workflow/vscode_debug/README.md @@ -35,21 +35,24 @@ click is ignored. Why? I don't know. ![image5](2022-04-01_21-47_0.png) -Debugger controls -Control toolbar +## Debugger controls +### 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. +||| +|---|---| +|![image6](2022-04-01_21-30.png)| 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. | +|![image7](2022-04-01_21-30_2.png)| Step Over| +|![image8](2022-04-01_21-30_3.png)| Step Into| +|![image9](2022-04-01_21-31.png)| Step Out| +|![image10](2022-04-01_21-31_1.png)| Restart -- Starts the debugging process from the beginning. | +|![image11](2022-04-01_21-31_2.png)| Stop -- Stops the debugging and the debugger closes.| -Continue vs Step Over vs Step Into vs Step Out +### Continue vs Step Over vs Step Into vs Step Out + Example code: +```python # %% def function(x: int) -> int: x += 1 @@ -63,7 +66,7 @@ x = 1 x = function(x) x = function(x) x = function(x) - +``` Continue