Skip to content

Commit 5e84883

Browse files
author
Naoto Ono
committed
modify thread_client
1 parent e4666fe commit 5e84883

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/debug/thread_client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def self.current
1010
end
1111
end
1212

13-
attr_reader :location, :thread, :mode, :id
13+
attr_reader :location, :thread, :mode, :id, :target_frames
1414

1515
def initialize id, q_evt, q_cmd, thr = Thread.current
1616
@id = id
@@ -533,7 +533,7 @@ def wait_next_action
533533
case type
534534
when :up
535535
if @current_frame_index + 1 < @target_frames.size
536-
@current_frame_index += 1
536+
@current_frame_index += 1
537537
show_src max_lines: 1
538538
show_frame(@current_frame_index)
539539
end

0 commit comments

Comments
 (0)