This commit is contained in:
behinger (s-ccs 001)
2023-09-28 12:51:54 +00:00
parent 8b078ed291
commit 0a035acc05
5 changed files with 485 additions and 54 deletions

View File

@@ -413,5 +413,19 @@ Macros allow to programmers to edit the actual code **before** it is run. We wil
a = "123"
@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.