This commit is contained in:
behinger (s-ccs 001)
2023-09-28 12:56:11 +00:00
5 changed files with 483 additions and 54 deletions

View File

@@ -428,6 +428,18 @@ Macros allow to programmers to edit the actual code **before** it is run. We wil
@show a
```
## Debugging
XXX
### Debug messages
```julia
@debug "my debug message"
ENV["JULIA_DEBUG"] = Main
ENV["JULIA_DEBUG"] = MyPackage
```
### Debugger proper:
[Cheatsheet for debugging](../../../cheatsheets/julia.qmd#debugging)
In most cases, `@run myFunction(1,2,3)` is sufficient.