ruby-debug-ide 0.4.17.beta3 → 0.4.17.beta4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ruby-debug-ide.rb +1 -1
- data/lib/ruby-debug/commands/jump.rb +0 -0
- data/lib/ruby-debug/commands/pause.rb +0 -0
- data/lib/ruby-debug/commands/set_type.rb +0 -0
- data/lib/ruby-debug/event_processor.rb +1 -1
- data/lib/ruby-debug/processor.rb +2 -2
- data/lib/ruby-debug/version.rb +1 -1
- metadata +21 -20
data/lib/ruby-debug-ide.rb
CHANGED
@@ -137,7 +137,7 @@ module Debugger
|
|
137
137
|
begin
|
138
138
|
interface = RemoteInterface.new(session)
|
139
139
|
@event_processor = EventProcessor.new(interface)
|
140
|
-
|
140
|
+
IdeControlCommandProcessor.new(interface).process_commands
|
141
141
|
rescue StandardError, ScriptError => ex
|
142
142
|
bt = ex.backtrace
|
143
143
|
$stderr.printf "Exception in DebugThread loop: #{ex.message}\nBacktrace:\n#{bt ? bt.join("\n from: ") : "<none>"}\n"
|
File without changes
|
File without changes
|
File without changes
|
@@ -58,7 +58,7 @@ end
|
|
58
58
|
raise "DebuggerThread are not supposed to be traced (#{context.thread})" if context.thread.is_a?(Debugger::DebugThread)
|
59
59
|
@printer.print_debug("Stopping Thread %s", context.thread.to_s)
|
60
60
|
@printer.print_debug("Threads equal: %s", Thread.current == context.thread)
|
61
|
-
|
61
|
+
IdeCommandProcessor.new(@interface).process_commands
|
62
62
|
@printer.print_debug("Resumed Thread %s", context.thread.to_s)
|
63
63
|
@line = nil
|
64
64
|
@file = nil
|
data/lib/ruby-debug/processor.rb
CHANGED
@@ -7,7 +7,7 @@ else
|
|
7
7
|
end
|
8
8
|
|
9
9
|
module Debugger
|
10
|
-
class
|
10
|
+
class IdeCommandProcessor
|
11
11
|
def initialize(interface = nil)
|
12
12
|
@interface = interface
|
13
13
|
@printer = XmlPrinter.new(@interface)
|
@@ -82,7 +82,7 @@ module Debugger
|
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
-
class
|
85
|
+
class IdeControlCommandProcessor < IdeCommandProcessor# :nodoc:
|
86
86
|
def process_commands
|
87
87
|
@printer.print_debug("Starting control thread")
|
88
88
|
ctrl_cmd_classes = Command.commands.select{|cmd| cmd.control}
|
data/lib/ruby-debug/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-debug-ide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 62196323
|
5
|
+
prerelease: 7
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
9
|
- 17
|
10
|
-
-
|
11
|
-
|
10
|
+
- beta
|
11
|
+
- 4
|
12
|
+
version: 0.4.17.beta4
|
12
13
|
platform: ruby
|
13
14
|
authors:
|
14
15
|
- Markus Barchfeld, Martin Krauskopf, Mark Moseley, JetBrains RubyMine Team
|
@@ -16,7 +17,7 @@ autorequire:
|
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
19
|
|
19
|
-
date: 2011-
|
20
|
+
date: 2011-04-01 00:00:00 +04:00
|
20
21
|
default_executable:
|
21
22
|
dependencies:
|
22
23
|
- !ruby/object:Gem::Dependency
|
@@ -49,30 +50,30 @@ files:
|
|
49
50
|
- MIT-LICENSE
|
50
51
|
- Rakefile
|
51
52
|
- bin/rdebug-ide
|
52
|
-
- lib/ruby-debug
|
53
|
-
- lib/ruby-debug/
|
54
|
-
- lib/ruby-debug/helper.rb
|
53
|
+
- lib/ruby-debug/command.rb
|
54
|
+
- lib/ruby-debug/commands/breakpoints.rb
|
55
55
|
- lib/ruby-debug/commands/catchpoint.rb
|
56
|
+
- lib/ruby-debug/commands/condition.rb
|
57
|
+
- lib/ruby-debug/commands/control.rb
|
58
|
+
- lib/ruby-debug/commands/enable.rb
|
59
|
+
- lib/ruby-debug/commands/eval.rb
|
56
60
|
- lib/ruby-debug/commands/frame.rb
|
57
61
|
- lib/ruby-debug/commands/inspect.rb
|
58
|
-
- lib/ruby-debug/commands/
|
59
|
-
- lib/ruby-debug/commands/variables.rb
|
62
|
+
- lib/ruby-debug/commands/jump.rb
|
60
63
|
- lib/ruby-debug/commands/load.rb
|
64
|
+
- lib/ruby-debug/commands/pause.rb
|
61
65
|
- lib/ruby-debug/commands/set_type.rb
|
62
|
-
- lib/ruby-debug/commands/enable.rb
|
63
|
-
- lib/ruby-debug/commands/control.rb
|
64
|
-
- lib/ruby-debug/commands/jump.rb
|
65
66
|
- lib/ruby-debug/commands/stepping.rb
|
66
|
-
- lib/ruby-debug/commands/pause.rb
|
67
67
|
- lib/ruby-debug/commands/threads.rb
|
68
|
-
- lib/ruby-debug/commands/
|
69
|
-
- lib/ruby-debug/commands/eval.rb
|
70
|
-
- lib/ruby-debug/command.rb
|
71
|
-
- lib/ruby-debug/xml_printer.rb
|
68
|
+
- lib/ruby-debug/commands/variables.rb
|
72
69
|
- lib/ruby-debug/event_processor.rb
|
70
|
+
- lib/ruby-debug/helper.rb
|
73
71
|
- lib/ruby-debug/interface.rb
|
74
|
-
- lib/ruby-debug/
|
72
|
+
- lib/ruby-debug/printers.rb
|
75
73
|
- lib/ruby-debug/processor.rb
|
74
|
+
- lib/ruby-debug/version.rb
|
75
|
+
- lib/ruby-debug/xml_printer.rb
|
76
|
+
- lib/ruby-debug-ide.rb
|
76
77
|
- ext/mkrf_conf.rb
|
77
78
|
has_rdoc: true
|
78
79
|
homepage: http://rubyforge.org/projects/debug-commons/
|
@@ -108,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
109
|
requirements: []
|
109
110
|
|
110
111
|
rubyforge_project: debug-commons
|
111
|
-
rubygems_version: 1.
|
112
|
+
rubygems_version: 1.5.0
|
112
113
|
signing_key:
|
113
114
|
specification_version: 3
|
114
115
|
summary: IDE interface for ruby-debug.
|