We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cb4448 commit 949562dCopy full SHA for 949562d
1 file changed
lib/debug/session.rb
@@ -126,7 +126,8 @@ def initialize
126
127
@tp_thread_begin = nil
128
@tp_load_script = TracePoint.new(:script_compiled){|tp|
129
- ThreadClient.current.on_load tp.instruction_sequence, tp.eval_script
+ # skip on_load if no bps for faster loading
130
+ ThreadClient.current.on_load tp.instruction_sequence, tp.eval_script if @bps.any?
131
}
132
@tp_load_script.enable
133
0 commit comments