diff options
author | Nguyễn Quang Minh <nguyenquangminh0711@gmail.com> | 2020-08-06 09:56:24 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-06 11:56:24 +0900 |
commit | 1819652578e8f9fe3606f7a716ec4e427fc55f0a (patch) | |
tree | 4b1fc8e695a0de3823f0c8542c71e886442404b6 /lib | |
parent | bbbec4b87c1e66909f5bee9acd3e460b8c1ad663 (diff) | |
download | ruby-1819652578e8f9fe3606f7a716ec4e427fc55f0a.tar.gz |
[Feature #16513] TracePoint#inspect returns "... file:line" (#3391)
* Fix debug documents to match Thread#to_s change (Feature #16412 ticket)
* TracePoint#inspect returns "... file:line" (Feature #16513)
* Guard older version of Ruby in Tracepoint inspection tests
* Focus on current thread only when running TracePoint inspection test
Diffstat (limited to 'lib')
-rw-r--r-- | lib/debug.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/debug.rb b/lib/debug.rb index 6f519c6c77..bf53eb80a4 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -1012,8 +1012,8 @@ EOHELP # # (rdb:1) DEBUGGER__.thread_list_all # +1 #<Thread:0x007fb2320c03f0 run> debug_me.rb.rb:3 - # 2 #<Thread:0x007fb23218a538@debug_me.rb.rb:3 sleep> - # 3 #<Thread:0x007fb23218b0f0@debug_me.rb.rb:3 sleep> + # 2 #<Thread:0x007fb23218a538 debug_me.rb.rb:3 sleep> + # 3 #<Thread:0x007fb23218b0f0 debug_me.rb.rb:3 sleep> # [1, 2, 3] # # Your current thread is indicated by a <b>+</b> @@ -1022,8 +1022,8 @@ EOHELP # # (rdb:1) th l # +1 #<Thread:0x007f99328c0410 run> debug_me.rb:3 - # 2 #<Thread:0x007f9932938230@debug_me.rb:3 sleep> debug_me.rb:3 - # 3 #<Thread:0x007f9932938e10@debug_me.rb:3 sleep> debug_me.rb:3 + # 2 #<Thread:0x007f9932938230 debug_me.rb:3 sleep> debug_me.rb:3 + # 3 #<Thread:0x007f9932938e10 debug_me.rb:3 sleep> debug_me.rb:3 # # See DEBUGGER__ for more usage. |