@@ -1651,9 +1651,9 @@ def get_thread_client th = Thread.current
1651
1651
private def enter_subsession
1652
1652
@subsession_id += 1
1653
1653
if !@subsession_stack . empty?
1654
- DEBUGGER__ . info "Enter subsession (nested #{ @subsession_stack . size } )"
1654
+ DEBUGGER__ . debug { "Enter subsession (nested #{ @subsession_stack . size } )" }
1655
1655
else
1656
- DEBUGGER__ . info "Enter subsession"
1656
+ DEBUGGER__ . debug { "Enter subsession" }
1657
1657
stop_all_threads
1658
1658
@process_group . lock
1659
1659
end
@@ -1666,11 +1666,11 @@ def get_thread_client th = Thread.current
1666
1666
@subsession_stack . pop
1667
1667
1668
1668
if @subsession_stack . empty?
1669
- DEBUGGER__ . info "Leave subsession"
1669
+ DEBUGGER__ . debug { "Leave subsession" }
1670
1670
@process_group . unlock
1671
1671
restart_all_threads
1672
1672
else
1673
- DEBUGGER__ . info "Leave subsession (nested #{ @subsession_stack . size } )"
1673
+ DEBUGGER__ . debug { "Leave subsession (nested #{ @subsession_stack . size } )" }
1674
1674
end
1675
1675
1676
1676
request_tc type if type
@@ -1998,7 +1998,7 @@ def info msg
1998
1998
end
1999
1999
2000
2000
def locked?
2001
- # DEBUGGER__.info "locked? #{@lock_level}"
2001
+ # DEBUGGER__.debug{ "locked? #{@lock_level}" }
2002
2002
@lock_level > 0
2003
2003
end
2004
2004
@@ -2402,19 +2402,19 @@ def fork(&given_block)
2402
2402
# Do nothing
2403
2403
}
2404
2404
child_hook = -> {
2405
- DEBUGGER__ . warn "Detaching after fork from child process #{ Process . pid } "
2405
+ DEBUGGER__ . info "Detaching after fork from child process #{ Process . pid } "
2406
2406
SESSION . deactivate
2407
2407
}
2408
2408
when :child
2409
2409
SESSION . before_fork false
2410
2410
2411
2411
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 } "
2413
2413
SESSION . after_fork_parent
2414
2414
SESSION . deactivate
2415
2415
}
2416
2416
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 } "
2418
2418
SESSION . activate on_fork : true
2419
2419
}
2420
2420
when :both
@@ -2425,7 +2425,7 @@ def fork(&given_block)
2425
2425
SESSION . after_fork_parent
2426
2426
}
2427
2427
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 } "
2429
2429
SESSION . process_group . after_fork child : true
2430
2430
SESSION . activate on_fork : true
2431
2431
}
0 commit comments