Your environment
ruby -v: 3.1.0
rdbg -v: master (5dd00d5)
Describe the bug
Tracer output's path doesn't respect the use_short_path config.
To Reproduce
`target.rb
debugger(do: "break Gem.operating_system_defaults do: bt ;; trace call /gems/")
Gem.operating_system_defaults
$ RUBY_DEBUG_USE_SHORT_PATH=1 ruby -Ilib -rdebug target.rb
# .... not important
(rdbg:break) bt
=>#0 Gem.operating_system_defaults at $(rubylibdir)/rubygems/defaults.rb:256
#1 <main> at target.rb:3
DEBUGGER (trace/call) #th:1 #depth:2 < Gem.operating_system_defaults #=> {} at /Users/st0012/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/defaults.rb:257
Expected behavior
Trace's path should be shorten like backtrace.
DEBUGGER (trace/call) #th:1 #depth:2 < Gem.operating_system_defaults #=> {} at $(rubylibdir)/rubygems/defaults.rb:257
Your environment
ruby -v:3.1.0rdbg -v: master (5dd00d5)Describe the bug
Tracer output's path doesn't respect the
use_short_pathconfig.To Reproduce
`target.rb
Expected behavior
Trace's path should be shorten like backtrace.