Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

ZJIT.induce_breakpoint!

induce_breakpoint!(= nil)

A directive for the compiler to emit a breakpoint instruction at the call site of this method. To show this to ZJIT, say ::RubyVM::ZJIT.induce_breakpoint! verbatim. Other forms are too dynamic to detect during compilation.