We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c61393a commit 017c8abCopy full SHA for 017c8ab
1 file changed
lib/ruby-debug-ide/commands/pause.rb
@@ -9,12 +9,13 @@ def regexp
9
end
10
11
def execute
12
- c = get_context(@match[1].to_i)
13
- unless c.respond_to?(:pause)
14
- print_msg "Not implemented"
15
- return
+ Debugger.contexts.each do |c|
+ unless c.respond_to?(:pause)
+ print_msg "Not implemented"
+ return
16
+ end
17
+ c.pause
18
- c.pause
19
20
21
class << self
0 commit comments