mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-09 01:39:12 +00:00
Edit Unit Testing Documentation (#8961)
This commit is contained in:
parent
e1217dae5a
commit
e02a3c559d
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ In that model you would emulate the input, and expect a certain output from the
|
|||
|
||||
# Tracing Variables :id=tracing-variables
|
||||
|
||||
Sometimes you might wonder why a variable gets changed and where, and this can be quite tricky to track down without having a debugger. It's of course possible to manually add print statements to track it, but you can also enable the variable trace feature. This works for both for variables that are changed by the code, and when the variable is changed by some memory corruption.
|
||||
Sometimes you might wonder why a variable gets changed and where, and this can be quite tricky to track down without having a debugger. It's of course possible to manually add print statements to track it, but you can also enable the variable trace feature. This works for both variables that are changed by the code, and when the variable is changed by some memory corruption.
|
||||
|
||||
To take the feature into use add `VARIABLE_TRACE=x` to the end of you make command. `x` represents the number of variables you want to trace, which is usually 1.
|
||||
|
||||
|
|
Loading…
Reference in a new issue