docs: note how to print trace statements
This commit is contained in:
parent
d8b144e972
commit
0f1dbb9f2a
|
@ -52,13 +52,16 @@ Ruffle is a young project, and there is still much Flash functionality that is u
|
|||
|
||||
## Debugging ActionScript Content
|
||||
|
||||
If you build Ruffle with `--features avm_debug` and enable debug logging (`RUST_LOG="warn,ruffle_core=debug"`) then you will
|
||||
If you build Ruffle with `--features avm_debug` and enable debug logging (`RUST_LOG="warn,ruffle_core=debug,avm_trace=trace"`) then you will
|
||||
activate a few built-in debugging utilities inside Ruffle, listed below.
|
||||
|
||||
### Warnings and Errors
|
||||
All AVM errors and warnings will print their stack trace so that you can view where they are in relation to the
|
||||
ActionScript inside the movie. This requires no extra configuration and will be visible by default.
|
||||
|
||||
### Trace statements
|
||||
With `avm_trace=trace`, `trace()` statements will print to stderr.
|
||||
|
||||
### Step-By-Step Output
|
||||
If you use the hotkey `CTRL + ALT + D` you will toggle verbose AVM debugging output on and off (default off).
|
||||
You will be able to follow the flow of ActionScript inside of a SWF movie, as each action is performed.
|
||||
|
|
Loading…
Reference in New Issue