@@ -1651,9 +1651,9 @@ def get_thread_client th = Thread.current
16511651 private def enter_subsession
16521652 @subsession_id += 1
16531653 if !@subsession_stack . empty?
1654- DEBUGGER__ . info "Enter subsession (nested #{ @subsession_stack . size } )"
1654+ DEBUGGER__ . debug { "Enter subsession (nested #{ @subsession_stack . size } )" }
16551655 else
1656- DEBUGGER__ . info "Enter subsession"
1656+ DEBUGGER__ . debug { "Enter subsession" }
16571657 stop_all_threads
16581658 @process_group . lock
16591659 end
@@ -1666,11 +1666,11 @@ def get_thread_client th = Thread.current
16661666 @subsession_stack . pop
16671667
16681668 if @subsession_stack . empty?
1669- DEBUGGER__ . info "Leave subsession"
1669+ DEBUGGER__ . debug { "Leave subsession" }
16701670 @process_group . unlock
16711671 restart_all_threads
16721672 else
1673- DEBUGGER__ . info "Leave subsession (nested #{ @subsession_stack . size } )"
1673+ DEBUGGER__ . debug { "Leave subsession (nested #{ @subsession_stack . size } )" }
16741674 end
16751675
16761676 request_tc type if type
@@ -1998,7 +1998,7 @@ def info msg
19981998 end
19991999
20002000 def locked?
2001- # DEBUGGER__.info "locked? #{@lock_level}"
2001+ # DEBUGGER__.debug{ "locked? #{@lock_level}" }
20022002 @lock_level > 0
20032003 end
20042004
@@ -2402,19 +2402,19 @@ def fork(&given_block)
24022402 # Do nothing
24032403 }
24042404 child_hook = -> {
2405- DEBUGGER__ . warn "Detaching after fork from child process #{ Process . pid } "
2405+ DEBUGGER__ . info "Detaching after fork from child process #{ Process . pid } "
24062406 SESSION . deactivate
24072407 }
24082408 when :child
24092409 SESSION . before_fork false
24102410
24112411 parent_hook = -> child_pid {
2412- DEBUGGER__ . warn "Detaching after fork from parent process #{ Process . pid } "
2412+ DEBUGGER__ . info "Detaching after fork from parent process #{ Process . pid } "
24132413 SESSION . after_fork_parent
24142414 SESSION . deactivate
24152415 }
24162416 child_hook = -> {
2417- DEBUGGER__ . warn "Attaching after process #{ parent_pid } fork to child process #{ Process . pid } "
2417+ DEBUGGER__ . info "Attaching after process #{ parent_pid } fork to child process #{ Process . pid } "
24182418 SESSION . activate on_fork : true
24192419 }
24202420 when :both
@@ -2425,7 +2425,7 @@ def fork(&given_block)
24252425 SESSION . after_fork_parent
24262426 }
24272427 child_hook = -> {
2428- DEBUGGER__ . warn "Attaching after process #{ parent_pid } fork to child process #{ Process . pid } "
2428+ DEBUGGER__ . info "Attaching after process #{ parent_pid } fork to child process #{ Process . pid } "
24292429 SESSION . process_group . after_fork child : true
24302430 SESSION . activate on_fork : true
24312431 }
0 commit comments