-
+
@@ -1027,7 +1037,7 @@ 15:00
Your turn, exercise 02
-
+
@@ -1204,7 +1214,7 @@ 07:00
Your turn, exercise 03
-
+
@@ -1351,7 +1361,7 @@ 10:00
Your turn, investigating a CRAN package
-
+
@@ -1395,7 +1405,7 @@ 03:00
Your turn, investigating source code
Hints on next slides.
-
-. . . +::: columns +::: {.column width="35%"} -
+Investigate objects
+
+
-Control execution: +
+ +Control execution +::: + +::: {.column width="5%"} +::: + +::: {.column width="55%"} +`ls()`, `ls.str()`,
`str()`, `print()` + +
+ +::: {.small} | command | operation | |---------|-------------------------| | `n` | next statement | -| `c` | continue | +| `c` | continue (leave interactive debugging) | | `s` | step into function call | | `f` | finish loop / function | | `where` | show previous calls | | `Q` | quit debugger | +::: + +::: ::: + + + + + + ## Debugging your code 
+
diff --git a/index.qmd b/index.qmd
index 764a367..6b3ab21 100644
--- a/index.qmd
+++ b/index.qmd
@@ -470,25 +470,50 @@ g <- function(x) f(x)
## Interactive debugger tips
-Investigate objects: `ls()`, `str()`, `ls.str()`, `print()`
+05:00
-. . . +::: columns +::: {.column width="35%"} -
-Control execution: +
+ +Control execution +::: + +::: {.column width="5%"} +::: + +::: {.column width="55%"} +`ls()`, `ls.str()`,
`str()`, `print()` + +
+ +::: {.small} | command | operation | |---------|-------------------------| | `n` | next statement | -| `c` | continue | +| `c` | continue (leave interactive debugging) | | `s` | step into function call | | `f` | finish loop / function | | `where` | show previous calls | | `Q` | quit debugger | +::: + +::: ::: + + + + + + ## Debugging your code 