Commit 9c893a1
committed
Show process ID in prompt for independent worker sessions
When the well-known lock is active, include program name and PID in
the debugger prompt so it's clear which worker has control:
(rdbg@test_foo.rb#12345)
Also applies to IRB console integration:
irb:rdbg@test_foo.rb#12345(main):001:0>
This makes process switches obvious when control moves between
workers on continue.1 parent 2d0a1fb commit 9c893a1
2 files changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | | - | |
497 | | - | |
| 496 | + | |
| 497 | + | |
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| |||
2085 | 2085 | | |
2086 | 2086 | | |
2087 | 2087 | | |
2088 | | - | |
| 2088 | + | |
2089 | 2089 | | |
2090 | 2090 | | |
2091 | 2091 | | |
| |||
2155 | 2155 | | |
2156 | 2156 | | |
2157 | 2157 | | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
2158 | 2162 | | |
2159 | 2163 | | |
2160 | 2164 | | |
| |||
0 commit comments