mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Add docs for --zjit-debug
This commit is contained in:
parent
9ad902e55c
commit
fa3a6f5cde
Notes:
git
2025-10-22 20:52:59 +00:00
10
doc/zjit.md
10
doc/zjit.md
@ -162,6 +162,16 @@ A file called `zjit_exits_{pid}.dump` will be created in the same directory as `
|
||||
stackprof path/to/zjit_exits_{pid}.dump
|
||||
```
|
||||
|
||||
### Printing ZJIT Errors
|
||||
|
||||
`--zjit-debug` prints ZJIT compilation errors and other diagnostics:
|
||||
|
||||
```bash
|
||||
./miniruby --zjit-debug script.rb
|
||||
```
|
||||
|
||||
As you might guess from the name, this option is intended mostly for ZJIT developers.
|
||||
|
||||
## Useful dev commands
|
||||
|
||||
To view YARV output for code snippets:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user