ruby-debug-ide 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/ruby-debug.rb +21 -10
- data/lib/ruby-debug/interface.rb +14 -1
- data/lib/ruby-debug/processor.rb +4 -4
- data/lib/ruby-debug/xml_printer.rb +7 -8
- metadata +49 -43
- data/lib/tags +0 -271
data/lib/ruby-debug.rb
CHANGED
@@ -9,6 +9,17 @@ require 'ruby-debug/event_processor'
|
|
9
9
|
|
10
10
|
module Debugger
|
11
11
|
|
12
|
+
class << self
|
13
|
+
# Prints to the stderr using printf(*args) if debug logging flag (-d) is on.
|
14
|
+
def print_debug(*args)
|
15
|
+
if Debugger.is_debug
|
16
|
+
$stderr.printf(*args)
|
17
|
+
$stderr.printf("\n")
|
18
|
+
$stderr.flush
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
12
23
|
class Context
|
13
24
|
def interrupt
|
14
25
|
self.stop_next = 1
|
@@ -16,29 +27,29 @@ module Debugger
|
|
16
27
|
|
17
28
|
private
|
18
29
|
|
19
|
-
def
|
20
|
-
Debugger.
|
30
|
+
def event_processor
|
31
|
+
Debugger.event_processor
|
21
32
|
end
|
22
33
|
|
23
34
|
def at_breakpoint(breakpoint)
|
24
|
-
|
35
|
+
event_processor.at_breakpoint(self, breakpoint)
|
25
36
|
end
|
26
37
|
|
27
38
|
def at_catchpoint(excpt)
|
28
|
-
|
39
|
+
event_processor.at_catchpoint(self, excpt)
|
29
40
|
end
|
30
41
|
|
31
42
|
def at_tracing(file, line)
|
32
|
-
|
43
|
+
event_processor.at_tracing(self, file, line)
|
33
44
|
end
|
34
45
|
|
35
46
|
def at_line(file, line)
|
36
|
-
|
47
|
+
event_processor.at_line(self, file, line)
|
37
48
|
end
|
38
49
|
end
|
39
50
|
|
40
51
|
class << self
|
41
|
-
attr_accessor :
|
52
|
+
attr_accessor :event_processor, :is_debug
|
42
53
|
attr_reader :control_thread
|
43
54
|
|
44
55
|
#
|
@@ -89,13 +100,13 @@ module Debugger
|
|
89
100
|
raise "Debugger is not started" unless started?
|
90
101
|
return if @control_thread
|
91
102
|
@control_thread = DebugThread.new do
|
103
|
+
Debugger.print_debug("Waiting for connection on '#{host}:#{port}'")
|
92
104
|
server = TCPServer.new(host, port)
|
93
105
|
while (session = server.accept)
|
94
106
|
begin
|
95
107
|
interface = RemoteInterface.new(session)
|
96
|
-
@
|
97
|
-
|
98
|
-
processor.process_commands
|
108
|
+
@event_processor = EventProcessor.new(interface)
|
109
|
+
ControlCommandProcessor.new(interface).process_commands
|
99
110
|
rescue StandardError, ScriptError => ex
|
100
111
|
puts ex
|
101
112
|
end
|
data/lib/ruby-debug/interface.rb
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
class TCPSocket
|
2
|
+
|
3
|
+
# Workaround for JRuby issue http://jira.codehaus.org/browse/JRUBY-2063
|
4
|
+
def non_blocking_gets
|
5
|
+
loop do
|
6
|
+
result, _, _ = IO.select( [self], nil, nil, 0.2 )
|
7
|
+
next unless result
|
8
|
+
return result[0].gets
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
13
|
+
|
1
14
|
module Debugger
|
2
15
|
|
3
16
|
class RemoteInterface # :nodoc:
|
@@ -7,7 +20,7 @@ module Debugger
|
|
7
20
|
end
|
8
21
|
|
9
22
|
def read_command
|
10
|
-
result = @socket.
|
23
|
+
result = @socket.non_blocking_gets
|
11
24
|
raise IOError unless result
|
12
25
|
result.chomp
|
13
26
|
end
|
data/lib/ruby-debug/processor.rb
CHANGED
@@ -39,13 +39,13 @@ module Debugger
|
|
39
39
|
end
|
40
40
|
|
41
41
|
def process_context_commands(input)
|
42
|
-
unless Debugger.
|
42
|
+
unless Debugger.event_processor.at_line?
|
43
43
|
@printer.print_error "There is no thread suspended at the time and therefore no context to execute '#{input.gsub('%', '%%')}'"
|
44
44
|
return
|
45
45
|
end
|
46
|
-
context = Debugger.
|
47
|
-
file = Debugger.
|
48
|
-
line = Debugger.
|
46
|
+
context = Debugger.event_processor.context
|
47
|
+
file = Debugger.event_processor.file
|
48
|
+
line = Debugger.event_processor.line
|
49
49
|
event_cmds = Command.commands.select{|cmd| cmd.event }
|
50
50
|
state = State.new do |s|
|
51
51
|
s.context = context
|
@@ -23,12 +23,9 @@ module Debugger
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
+
# Convenient delegate to Debugger#print_debug
|
26
27
|
def print_debug(*args)
|
27
|
-
|
28
|
-
$stderr.printf(*args)
|
29
|
-
$stderr.printf("\n")
|
30
|
-
$stderr.flush
|
31
|
-
end
|
28
|
+
Debugger.print_debug(*args)
|
32
29
|
end
|
33
30
|
|
34
31
|
def print_frames(context, cur_idx)
|
@@ -96,7 +93,7 @@ module Debugger
|
|
96
93
|
end
|
97
94
|
|
98
95
|
def print_variable(name, value, kind)
|
99
|
-
|
96
|
+
unless value
|
100
97
|
print("<variable name=\"%s\" kind=\"%s\"/>", CGI.escapeHTML(name), kind)
|
101
98
|
return
|
102
99
|
end
|
@@ -109,11 +106,13 @@ module Debugger
|
|
109
106
|
end
|
110
107
|
else
|
111
108
|
has_children = !value.instance_variables.empty? || !value.class.class_variables.empty?
|
112
|
-
value_str = value.to_s
|
109
|
+
value_str = value.to_s || 'nil'
|
110
|
+
unless value_str.is_a?(String)
|
111
|
+
value_str = "ERROR: #{value.class}.to_s method returns #{value_str.class}. Should return String."
|
112
|
+
end
|
113
113
|
if value_str =~ /^\"(.*)"$/
|
114
114
|
value_str = $1
|
115
115
|
end
|
116
|
-
value_str ||= "nil"
|
117
116
|
end
|
118
117
|
value_str = "[Binary Data]" if value_str.is_binary_data?
|
119
118
|
print("<variable name=\"%s\" kind=\"%s\" value=\"%s\" type=\"%s\" hasChildren=\"%s\" objectId=\"%#+x\"/>",
|
metadata
CHANGED
@@ -1,33 +1,34 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
3
|
-
specification_version: 1
|
4
2
|
name: ruby-debug-ide
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.1.
|
7
|
-
date: 2007-10-26 11:59:40 +02:00
|
8
|
-
summary: IDE interface for ruby-debug.
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: rubyeclipse-dev-list@sourceforge.net
|
12
|
-
homepage: http://rubyforge.org/projects/ruby-commons/
|
13
|
-
rubyforge_project: ruby-debug-commons
|
14
|
-
description: An interface which glues ruby-debug to IDEs like Eclipse (RDT) and NetBeans.
|
15
|
-
autorequire: ruby-debug-base
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: false
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 1.8.2
|
24
|
-
version:
|
4
|
+
version: 0.1.10
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
30
7
|
- Markus Barchfeld, Martin Krauskopf
|
8
|
+
autorequire: ruby-debug-base
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-02-04 00:00:00 +01:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: ruby-debug-base
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - "="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.10.0
|
23
|
+
version:
|
24
|
+
description: An interface which glues ruby-debug to IDEs like Eclipse (RDT) and NetBeans.
|
25
|
+
email: rubyeclipse-dev-list@sourceforge.net
|
26
|
+
executables:
|
27
|
+
- rdebug-ide
|
28
|
+
extensions: []
|
29
|
+
|
30
|
+
extra_rdoc_files: []
|
31
|
+
|
31
32
|
files:
|
32
33
|
- README
|
33
34
|
- bin/rdebug-ide
|
@@ -50,27 +51,32 @@ files:
|
|
50
51
|
- lib/ruby-debug/printers.rb
|
51
52
|
- lib/ruby-debug/helper.rb
|
52
53
|
- lib/ruby-debug/event_processor.rb
|
53
|
-
- lib/tags
|
54
54
|
- lib/ruby-debug.rb
|
55
|
-
|
56
|
-
|
55
|
+
has_rdoc: false
|
56
|
+
homepage: http://rubyforge.org/projects/debug-commons/
|
57
|
+
post_install_message:
|
57
58
|
rdoc_options: []
|
58
59
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
60
|
+
require_paths:
|
61
|
+
- lib
|
62
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 1.8.2
|
67
|
+
version:
|
68
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: "0"
|
73
|
+
version:
|
65
74
|
requirements: []
|
66
75
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 0.9.3
|
76
|
-
version:
|
76
|
+
rubyforge_project: debug-commons
|
77
|
+
rubygems_version: 1.0.1
|
78
|
+
signing_key:
|
79
|
+
specification_version: 2
|
80
|
+
summary: IDE interface for ruby-debug.
|
81
|
+
test_files: []
|
82
|
+
|
data/lib/tags
DELETED
@@ -1,271 +0,0 @@
|
|
1
|
-
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
|
2
|
-
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
|
3
|
-
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
|
4
|
-
!_TAG_PROGRAM_NAME Exuberant Ctags //
|
5
|
-
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
|
6
|
-
!_TAG_PROGRAM_VERSION 5.6 //
|
7
|
-
AddBreakpoint ruby-debug/commands/breakpoints.rb /^ class AddBreakpoint < Command # :nodoc:$/;" c class:Debugger
|
8
|
-
BreakpointsCommand ruby-debug/commands/breakpoints.rb /^ class BreakpointsCommand < Command # :nodoc:$/;" c
|
9
|
-
CatchCommand ruby-debug/commands/catchpoint.rb /^ class CatchCommand < Command # :nodoc:$/;" c class:Debugger
|
10
|
-
ColumnizeFunctions ruby-debug/helper.rb /^ module ColumnizeFunctions$/;" m class:Debugger
|
11
|
-
Command ruby-debug/command.rb /^ class Command # :nodoc:$/;" c class:Debugger
|
12
|
-
Context ruby-debug.rb /^ class Context$/;" c class:Debugger
|
13
|
-
ContinueCommand ruby-debug/commands/stepping.rb /^ class ContinueCommand < Command # :nodoc:$/;" c
|
14
|
-
ControlCommandProcessor ruby-debug/processor.rb /^ class ControlCommandProcessor # :nodoc:$/;" c class:Debugger
|
15
|
-
ControlState ruby-debug/processor.rb /^ class ControlState # :nodoc:$/;" c class:Debugger
|
16
|
-
Debugger ruby-debug.rb /^module Debugger$/;" m
|
17
|
-
Debugger ruby-debug/command.rb /^module Debugger$/;" m
|
18
|
-
Debugger ruby-debug/commands/breakpoints.rb /^module Debugger$/;" m
|
19
|
-
Debugger ruby-debug/commands/catchpoint.rb /^module Debugger$/;" m
|
20
|
-
Debugger ruby-debug/commands/control.rb /^module Debugger$/;" m
|
21
|
-
Debugger ruby-debug/commands/eval.rb /^module Debugger$/;" m
|
22
|
-
Debugger ruby-debug/commands/frame.rb /^module Debugger$/;" m
|
23
|
-
Debugger ruby-debug/commands/inspect.rb /^module Debugger$/;" m
|
24
|
-
Debugger ruby-debug/commands/load.rb /^module Debugger$/;" m
|
25
|
-
Debugger ruby-debug/commands/stepping.rb /^module Debugger$/;" m
|
26
|
-
Debugger ruby-debug/commands/threads.rb /^module Debugger$/;" m
|
27
|
-
Debugger ruby-debug/commands/variables.rb /^module Debugger$/;" m
|
28
|
-
Debugger ruby-debug/event_processor.rb /^ module Debugger$/;" m
|
29
|
-
Debugger ruby-debug/helper.rb /^module Debugger$/;" m
|
30
|
-
Debugger ruby-debug/interface.rb /^module Debugger $/;" m
|
31
|
-
Debugger ruby-debug/processor.rb /^module Debugger$/;" m
|
32
|
-
Debugger ruby-debug/xml_printer.rb /^module Debugger$/;" m
|
33
|
-
DeleteBreakpointCommand ruby-debug/commands/breakpoints.rb /^ class DeleteBreakpointCommand < Command # :nodoc:$/;" c
|
34
|
-
DownCommand ruby-debug/commands/frame.rb /^ class DownCommand < Command # :nodoc:$/;" c
|
35
|
-
EvalCommand ruby-debug/commands/eval.rb /^ class EvalCommand < Command # :nodoc:$/;" c class:Debugger
|
36
|
-
EventHandler ruby-debug/event_processor.rb /^ class EventHandler$/;" c class:Debugger
|
37
|
-
Exception ruby-debug.rb /^ class Exception # :nodoc:$/;" c
|
38
|
-
FinishCommand ruby-debug/commands/stepping.rb /^ class FinishCommand < Command # :nodoc:$/;" c
|
39
|
-
FrameCommand ruby-debug/commands/frame.rb /^ class FrameCommand < Command # :nodoc:$/;" c
|
40
|
-
FrameFunctions ruby-debug/commands/frame.rb /^ module FrameFunctions # :nodoc:$/;" m class:Debugger
|
41
|
-
InspectCommand ruby-debug/commands/inspect.rb /^ class InspectCommand < Command$/;" c class:Debugger
|
42
|
-
InterruptCommand ruby-debug/commands/control.rb /^ class InterruptCommand < Command # :nodoc:$/;" c
|
43
|
-
Kernel ruby-debug.rb /^ module Kernel$/;" m
|
44
|
-
LoadCommand ruby-debug/commands/load.rb /^ class LoadCommand < Command $/;" c class:Debugger
|
45
|
-
NextCommand ruby-debug/commands/stepping.rb /^ class NextCommand < Command # :nodoc:$/;" c class:Debugger
|
46
|
-
PPCommand ruby-debug/commands/eval.rb /^ class PPCommand < Command # :nodoc:$/;" c
|
47
|
-
ParseFunctions ruby-debug/helper.rb /^ module ParseFunctions$/;" m class:Debugger.ColumnizeFunctions
|
48
|
-
QuitCommand ruby-debug/commands/control.rb /^ class QuitCommand < Command # :nodoc:$/;" c class:Debugger
|
49
|
-
RemoteInterface ruby-debug/interface.rb /^ class RemoteInterface # :nodoc:$/;" c class:Debugger
|
50
|
-
RestartCommand ruby-debug/commands/control.rb /^ class RestartCommand < Command # :nodoc:$/;" c
|
51
|
-
StartCommand ruby-debug/commands/control.rb /^ class StartCommand < Command # :nodoc:$/;" c
|
52
|
-
State ruby-debug/processor.rb /^ class State # :nodoc:$/;" c class:Debugger
|
53
|
-
StepCommand ruby-debug/commands/stepping.rb /^ class StepCommand < Command # :nodoc:$/;" c
|
54
|
-
ThreadCurrentCommand ruby-debug/commands/threads.rb /^ class ThreadCurrentCommand < Command # :nodoc:$/;" c
|
55
|
-
ThreadFunctions ruby-debug/commands/threads.rb /^ module ThreadFunctions # :nodoc:$/;" m class:Debugger
|
56
|
-
ThreadListCommand ruby-debug/commands/threads.rb /^ class ThreadListCommand < Command # :nodoc:$/;" c class:Debugger
|
57
|
-
ThreadResumeCommand ruby-debug/commands/threads.rb /^ class ThreadResumeCommand < Command # :nodoc:$/;" c
|
58
|
-
ThreadStopCommand ruby-debug/commands/threads.rb /^ class ThreadStopCommand < Command # :nodoc:$/;" c
|
59
|
-
ThreadSwitchCommand ruby-debug/commands/threads.rb /^ class ThreadSwitchCommand < Command # :nodoc:$/;" c
|
60
|
-
UpCommand ruby-debug/commands/frame.rb /^ class UpCommand < Command # :nodoc:$/;" c
|
61
|
-
VarConstantCommand ruby-debug/commands/variables.rb /^ class VarConstantCommand < Command # :nodoc:$/;" c class:Debugger
|
62
|
-
VarGlobalCommand ruby-debug/commands/variables.rb /^ class VarGlobalCommand < Command # :nodoc:$/;" c
|
63
|
-
VarInstanceCommand ruby-debug/commands/variables.rb /^ class VarInstanceCommand < Command # :nodoc:$/;" c
|
64
|
-
VarLocalCommand ruby-debug/commands/variables.rb /^ class VarLocalCommand < Command # :nodoc:$/;" c
|
65
|
-
WhereCommand ruby-debug/commands/frame.rb /^ class WhereCommand < Command # :nodoc:$/;" c class:Debugger
|
66
|
-
XmlPrinter ruby-debug/xml_printer.rb /^ class XmlPrinter # :nodoc:$/;" c class:Debugger
|
67
|
-
adjust_frame ruby-debug/commands/frame.rb /^ def adjust_frame(frame_pos, absolute)$/;" f class:Debugger.FrameFunctions
|
68
|
-
at_breakpoint ruby-debug.rb /^ def at_breakpoint(breakpoint)$/;" f class:Debugger.Context
|
69
|
-
at_breakpoint ruby-debug/event_processor.rb /^ def at_breakpoint(context, breakpoint)$/;" f class:Debugger
|
70
|
-
at_catchpoint ruby-debug.rb /^ def at_catchpoint(excpt)$/;" f class:Debugger.Context
|
71
|
-
at_catchpoint ruby-debug/event_processor.rb /^ def at_catchpoint(context, excpt)$/;" f class:Debugger
|
72
|
-
at_line ruby-debug.rb /^ def at_line(file, line)$/;" f class:Debugger.Context
|
73
|
-
at_line ruby-debug/event_processor.rb /^ def at_line(context, file, line)$/;" f class:Debugger
|
74
|
-
at_line? ruby-debug/event_processor.rb /^ def at_line?$/;" f class:Debugger
|
75
|
-
at_tracing ruby-debug.rb /^ def at_tracing(file, line)$/;" f class:Debugger.Context
|
76
|
-
at_tracing ruby-debug/event_processor.rb /^ def at_tracing(context, file, line)$/;" f class:Debugger
|
77
|
-
binding_n ruby-debug.rb /^ def binding_n(n = 0)$/;" f class:Kernel
|
78
|
-
clear_references ruby-debug/commands/inspect.rb /^ def self.clear_references$/;" F class:Debugger.InspectCommand
|
79
|
-
close ruby-debug/interface.rb /^ def close$/;" f class:Debugger.RemoteInterface
|
80
|
-
columnize ruby-debug/helper.rb /^ def columnize(list, displaywidth=80)$/;" f class:Debugger.ColumnizeFunctions
|
81
|
-
commands ruby-debug/command.rb /^ def commands$/;" f class:Debugger.Command
|
82
|
-
context ruby-debug/processor.rb /^ def context$/;" f class:Debugger.ControlState
|
83
|
-
debug_eval ruby-debug/command.rb /^ def debug_eval(str, b = get_binding)$/;" f class:Debugger
|
84
|
-
debug_silent_eval ruby-debug/command.rb /^ def debug_silent_eval(str)$/;" f class:Debugger
|
85
|
-
debugger ruby-debug.rb /^ def debugger(steps = 1)$/;" f class:Kernel
|
86
|
-
execute ruby-debug/commands/breakpoints.rb /^ def execute$/;" f class:BreakpointsCommand
|
87
|
-
execute ruby-debug/commands/breakpoints.rb /^ def execute$/;" f class:Debugger.AddBreakpoint
|
88
|
-
execute ruby-debug/commands/breakpoints.rb /^ def execute$/;" f class:DeleteBreakpointCommand
|
89
|
-
execute ruby-debug/commands/catchpoint.rb /^ def execute$/;" f class:Debugger.CatchCommand
|
90
|
-
execute ruby-debug/commands/control.rb /^ def execute$/;" f class:Debugger.QuitCommand
|
91
|
-
execute ruby-debug/commands/control.rb /^ def execute$/;" f class:InterruptCommand
|
92
|
-
execute ruby-debug/commands/control.rb /^ def execute$/;" f class:RestartCommand
|
93
|
-
execute ruby-debug/commands/control.rb /^ def execute$/;" f class:StartCommand
|
94
|
-
execute ruby-debug/commands/eval.rb /^ def execute$/;" f class:Debugger.EvalCommand
|
95
|
-
execute ruby-debug/commands/eval.rb /^ def execute$/;" f class:PPCommand
|
96
|
-
execute ruby-debug/commands/frame.rb /^ def execute$/;" f class:Debugger.WhereCommand
|
97
|
-
execute ruby-debug/commands/frame.rb /^ def execute$/;" f class:DownCommand
|
98
|
-
execute ruby-debug/commands/frame.rb /^ def execute$/;" f class:FrameCommand
|
99
|
-
execute ruby-debug/commands/frame.rb /^ def execute$/;" f class:UpCommand
|
100
|
-
execute ruby-debug/commands/inspect.rb /^ def execute$/;" f class:Debugger.InspectCommand
|
101
|
-
execute ruby-debug/commands/load.rb /^ def execute$/;" f class:Debugger.LoadCommand
|
102
|
-
execute ruby-debug/commands/stepping.rb /^ def execute$/;" f class:ContinueCommand
|
103
|
-
execute ruby-debug/commands/stepping.rb /^ def execute$/;" f class:Debugger.NextCommand
|
104
|
-
execute ruby-debug/commands/stepping.rb /^ def execute$/;" f class:FinishCommand
|
105
|
-
execute ruby-debug/commands/stepping.rb /^ def execute$/;" f class:StepCommand
|
106
|
-
execute ruby-debug/commands/threads.rb /^ def execute$/;" f class:Debugger.ThreadListCommand
|
107
|
-
execute ruby-debug/commands/threads.rb /^ def execute$/;" f class:ThreadCurrentCommand
|
108
|
-
execute ruby-debug/commands/threads.rb /^ def execute$/;" f class:ThreadResumeCommand
|
109
|
-
execute ruby-debug/commands/threads.rb /^ def execute$/;" f class:ThreadStopCommand
|
110
|
-
execute ruby-debug/commands/threads.rb /^ def execute$/;" f class:ThreadSwitchCommand
|
111
|
-
execute ruby-debug/commands/variables.rb /^ def execute$/;" f class:Debugger.VarConstantCommand
|
112
|
-
execute ruby-debug/commands/variables.rb /^ def execute$/;" f class:VarGlobalCommand
|
113
|
-
execute ruby-debug/commands/variables.rb /^ def execute$/;" f class:VarInstanceCommand
|
114
|
-
execute ruby-debug/commands/variables.rb /^ def execute$/;" f class:VarLocalCommand
|
115
|
-
file ruby-debug/processor.rb /^ def file$/;" f class:Debugger.ControlState
|
116
|
-
get_binding ruby-debug/command.rb /^ def get_binding$/;" f class:Debugger
|
117
|
-
get_context ruby-debug/command.rb /^ def get_context(thnum)$/;" f class:Debugger
|
118
|
-
get_int ruby-debug/helper.rb /^ def get_int(str, cmd, min=nil, max=nil, default=1)$/;" f class:Debugger.ColumnizeFunctions.ParseFunctions
|
119
|
-
get_onoff ruby-debug/helper.rb /^ def get_onoff(arg, default=nil, print_error=true)$/;" f class:Debugger.ColumnizeFunctions.ParseFunctions
|
120
|
-
help ruby-debug/commands/breakpoints.rb /^ def help(cmd)$/;" f class:BreakpointsCommand
|
121
|
-
help ruby-debug/commands/breakpoints.rb /^ def help(cmd)$/;" f class:Debugger.AddBreakpoint
|
122
|
-
help ruby-debug/commands/breakpoints.rb /^ def help(cmd)$/;" f class:DeleteBreakpointCommand
|
123
|
-
help ruby-debug/commands/catchpoint.rb /^ def help(cmd)$/;" f class:Debugger.CatchCommand
|
124
|
-
help ruby-debug/commands/control.rb /^ def help(cmd)$/;" f class:Debugger.QuitCommand
|
125
|
-
help ruby-debug/commands/control.rb /^ def help(cmd)$/;" f class:InterruptCommand
|
126
|
-
help ruby-debug/commands/control.rb /^ def help(cmd)$/;" f class:RestartCommand
|
127
|
-
help ruby-debug/commands/control.rb /^ def help(cmd)$/;" f class:StartCommand
|
128
|
-
help ruby-debug/commands/eval.rb /^ def help(cmd)$/;" f class:Debugger.EvalCommand
|
129
|
-
help ruby-debug/commands/eval.rb /^ def help(cmd)$/;" f class:PPCommand
|
130
|
-
help ruby-debug/commands/frame.rb /^ def help(cmd)$/;" f class:Debugger.WhereCommand
|
131
|
-
help ruby-debug/commands/frame.rb /^ def help(cmd)$/;" f class:DownCommand
|
132
|
-
help ruby-debug/commands/frame.rb /^ def help(cmd)$/;" f class:FrameCommand
|
133
|
-
help ruby-debug/commands/frame.rb /^ def help(cmd)$/;" f class:UpCommand
|
134
|
-
help ruby-debug/commands/stepping.rb /^ def help(cmd)$/;" f class:ContinueCommand
|
135
|
-
help ruby-debug/commands/stepping.rb /^ def help(cmd)$/;" f class:Debugger.NextCommand
|
136
|
-
help ruby-debug/commands/stepping.rb /^ def help(cmd)$/;" f class:FinishCommand
|
137
|
-
help ruby-debug/commands/stepping.rb /^ def help(cmd)$/;" f class:StepCommand
|
138
|
-
help ruby-debug/commands/threads.rb /^ def help(cmd)$/;" f class:Debugger.ThreadListCommand
|
139
|
-
help ruby-debug/commands/threads.rb /^ def help(cmd)$/;" f class:ThreadCurrentCommand
|
140
|
-
help ruby-debug/commands/threads.rb /^ def help(cmd)$/;" f class:ThreadResumeCommand
|
141
|
-
help ruby-debug/commands/threads.rb /^ def help(cmd)$/;" f class:ThreadStopCommand
|
142
|
-
help ruby-debug/commands/threads.rb /^ def help(cmd)$/;" f class:ThreadSwitchCommand
|
143
|
-
help ruby-debug/commands/variables.rb /^ def help(cmd)$/;" f class:Debugger.VarConstantCommand
|
144
|
-
help ruby-debug/commands/variables.rb /^ def help(cmd)$/;" f class:VarGlobalCommand
|
145
|
-
help ruby-debug/commands/variables.rb /^ def help(cmd)$/;" f class:VarInstanceCommand
|
146
|
-
help ruby-debug/commands/variables.rb /^ def help(cmd)$/;" f class:VarLocalCommand
|
147
|
-
help_command ruby-debug/commands/breakpoints.rb /^ def help_command$/;" f class:BreakpointsCommand
|
148
|
-
help_command ruby-debug/commands/breakpoints.rb /^ def help_command$/;" f class:Debugger.AddBreakpoint
|
149
|
-
help_command ruby-debug/commands/breakpoints.rb /^ def help_command$/;" f class:DeleteBreakpointCommand
|
150
|
-
help_command ruby-debug/commands/catchpoint.rb /^ def help_command$/;" f class:Debugger.CatchCommand
|
151
|
-
help_command ruby-debug/commands/control.rb /^ def help_command$/;" f class:Debugger.QuitCommand
|
152
|
-
help_command ruby-debug/commands/control.rb /^ def help_command$/;" f class:InterruptCommand
|
153
|
-
help_command ruby-debug/commands/control.rb /^ def help_command$/;" f class:RestartCommand
|
154
|
-
help_command ruby-debug/commands/control.rb /^ def help_command$/;" f class:StartCommand
|
155
|
-
help_command ruby-debug/commands/eval.rb /^ def help_command$/;" f class:Debugger.EvalCommand
|
156
|
-
help_command ruby-debug/commands/eval.rb /^ def help_command$/;" f class:PPCommand
|
157
|
-
help_command ruby-debug/commands/frame.rb /^ def help_command$/;" f class:Debugger.WhereCommand
|
158
|
-
help_command ruby-debug/commands/frame.rb /^ def help_command$/;" f class:DownCommand
|
159
|
-
help_command ruby-debug/commands/frame.rb /^ def help_command$/;" f class:FrameCommand
|
160
|
-
help_command ruby-debug/commands/frame.rb /^ def help_command$/;" f class:UpCommand
|
161
|
-
help_command ruby-debug/commands/stepping.rb /^ def help_command$/;" f class:ContinueCommand
|
162
|
-
help_command ruby-debug/commands/stepping.rb /^ def help_command$/;" f class:Debugger.NextCommand
|
163
|
-
help_command ruby-debug/commands/stepping.rb /^ def help_command$/;" f class:FinishCommand
|
164
|
-
help_command ruby-debug/commands/stepping.rb /^ def help_command$/;" f class:StepCommand
|
165
|
-
help_command ruby-debug/commands/threads.rb /^ def help_command$/;" f class:Debugger.ThreadListCommand
|
166
|
-
help_command ruby-debug/commands/threads.rb /^ def help_command$/;" f class:ThreadCurrentCommand
|
167
|
-
help_command ruby-debug/commands/threads.rb /^ def help_command$/;" f class:ThreadResumeCommand
|
168
|
-
help_command ruby-debug/commands/threads.rb /^ def help_command$/;" f class:ThreadStopCommand
|
169
|
-
help_command ruby-debug/commands/threads.rb /^ def help_command$/;" f class:ThreadSwitchCommand
|
170
|
-
help_command ruby-debug/commands/variables.rb /^ def help_command$/;" f class:Debugger.VarConstantCommand
|
171
|
-
help_command ruby-debug/commands/variables.rb /^ def help_command$/;" f class:VarGlobalCommand
|
172
|
-
help_command ruby-debug/commands/variables.rb /^ def help_command$/;" f class:VarInstanceCommand
|
173
|
-
help_command ruby-debug/commands/variables.rb /^ def help_command$/;" f class:VarLocalCommand
|
174
|
-
inherited ruby-debug/command.rb /^ def inherited(klass)$/;" f class:Debugger.Command
|
175
|
-
initialize ruby-debug/command.rb /^ def initialize(state, printer)$/;" f class:Debugger
|
176
|
-
initialize ruby-debug/event_processor.rb /^ def initialize(interface)$/;" f class:Debugger.EventHandler
|
177
|
-
initialize ruby-debug/interface.rb /^ def initialize(socket)$/;" f class:Debugger.RemoteInterface
|
178
|
-
initialize ruby-debug/processor.rb /^ def initialize$/;" f class:Debugger.State
|
179
|
-
initialize ruby-debug/processor.rb /^ def initialize(interface)$/;" f class:Debugger.ControlCommandProcessor
|
180
|
-
initialize ruby-debug/processor.rb /^ def initialize(interface, commands)$/;" f class:Debugger.ControlState
|
181
|
-
initialize ruby-debug/xml_printer.rb /^ def initialize(interface)$/;" f class:Debugger.XmlPrinter
|
182
|
-
interrupt ruby-debug.rb /^ def interrupt$/;" f class:Debugger
|
183
|
-
interrupt ruby-debug.rb /^ def interrupt$/;" f class:Debugger.Context
|
184
|
-
interrupt_last ruby-debug.rb /^ def interrupt_last$/;" f class:Debugger
|
185
|
-
line_at ruby-debug/command.rb /^ def line_at(file, line)$/;" f class:Debugger
|
186
|
-
load_commands ruby-debug/command.rb /^ def load_commands$/;" f class:Debugger.Command
|
187
|
-
main ruby-debug.rb /^ def main(host, port)$/;" f class:Debugger
|
188
|
-
match ruby-debug/command.rb /^ def match(input)$/;" f class:Debugger
|
189
|
-
match ruby-debug/commands/eval.rb /^ def match(input)$/;" f class:Debugger.EvalCommand
|
190
|
-
method_missing ruby-debug/command.rb /^ def method_missing(meth, *args, &block)$/;" f class:Debugger.Command
|
191
|
-
method_missing ruby-debug/command.rb /^ def method_missing(meth, *args, &block)$/;" f class:Debugger
|
192
|
-
options ruby-debug/command.rb /^ def options$/;" f class:Debugger.Command
|
193
|
-
parse_thread_num ruby-debug/commands/threads.rb /^ def parse_thread_num(subcmd, arg)$/;" f class:Debugger.ThreadFunctions
|
194
|
-
print ruby-debug/command.rb /^ def print(*args)$/;" f class:Debugger
|
195
|
-
print ruby-debug/interface.rb /^ def print(*args)$/;" f class:Debugger.RemoteInterface
|
196
|
-
print ruby-debug/processor.rb /^ def print(*args)$/;" f class:Debugger.ControlCommandProcessor
|
197
|
-
print ruby-debug/processor.rb /^ def print(*args)$/;" f class:Debugger.ControlState
|
198
|
-
print ruby-debug/processor.rb /^ def print(*args)$/;" f class:Debugger.State
|
199
|
-
print ruby-debug/xml_printer.rb /^ def print(*params)$/;" f class:Debugger.XmlPrinter
|
200
|
-
print_array ruby-debug/xml_printer.rb /^ def print_array(array)$/;" f class:Debugger.XmlPrinter
|
201
|
-
print_at_line ruby-debug/xml_printer.rb /^ def print_at_line(file, line)$/;" f class:Debugger.XmlPrinter
|
202
|
-
print_breakpoint ruby-debug/xml_printer.rb /^ def print_breakpoint(n, breakpoint)$/;" f class:Debugger.XmlPrinter
|
203
|
-
print_breakpoint_added ruby-debug/xml_printer.rb /^ def print_breakpoint_added(b)$/;" f class:Debugger.XmlPrinter
|
204
|
-
print_breakpoint_deleted ruby-debug/xml_printer.rb /^ def print_breakpoint_deleted(b)$/;" f class:Debugger.XmlPrinter
|
205
|
-
print_breakpoints ruby-debug/xml_printer.rb /^ def print_breakpoints(breakpoints)$/;" f class:Debugger.XmlPrinter
|
206
|
-
print_catchpoint ruby-debug/xml_printer.rb /^ def print_catchpoint(exception)$/;" f class:Debugger.XmlPrinter
|
207
|
-
print_context ruby-debug/xml_printer.rb /^ def print_context(context)$/;" f class:Debugger.XmlPrinter
|
208
|
-
print_contexts ruby-debug/xml_printer.rb /^ def print_contexts(contexts)$/;" f class:Debugger.XmlPrinter
|
209
|
-
print_current_frame ruby-debug/xml_printer.rb /^ def print_current_frame(context, frame_pos)$/;" f class:Debugger.XmlPrinter
|
210
|
-
print_debug ruby-debug/xml_printer.rb /^ def print_debug(*args)$/;" f class:Debugger.XmlPrinter
|
211
|
-
print_element ruby-debug/xml_printer.rb /^ def print_element(name)$/;" f class:Debugger.XmlPrinter
|
212
|
-
print_error ruby-debug/xml_printer.rb /^ def print_error(*args)$/;" f class:Debugger.XmlPrinter
|
213
|
-
print_eval ruby-debug/xml_printer.rb /^ def print_eval(exp, value)$/;" f class:Debugger.XmlPrinter
|
214
|
-
print_exception ruby-debug/xml_printer.rb /^ def print_exception(exception, binding)$/;" f class:Debugger.XmlPrinter
|
215
|
-
print_expression ruby-debug/xml_printer.rb /^ def print_expression(exp, value, idx)$/;" f class:Debugger.XmlPrinter
|
216
|
-
print_expressions ruby-debug/xml_printer.rb /^ def print_expressions(exps)$/;" f class:Debugger.XmlPrinter
|
217
|
-
print_frame ruby-debug/xml_printer.rb /^ def print_frame(context, idx, cur_idx)$/;" f class:Debugger.XmlPrinter
|
218
|
-
print_frames ruby-debug/xml_printer.rb /^ def print_frames(context, cur_idx)$/;" f class:Debugger.XmlPrinter
|
219
|
-
print_hash ruby-debug/xml_printer.rb /^ def print_hash(hash)$/;" f class:Debugger.XmlPrinter
|
220
|
-
print_inspect ruby-debug/xml_printer.rb /^ def print_inspect(eval_result)$/;" f class:Debugger.XmlPrinter
|
221
|
-
print_list ruby-debug/xml_printer.rb /^ def print_list(b, e, file, line)$/;" f class:Debugger.XmlPrinter
|
222
|
-
print_load_result ruby-debug/xml_printer.rb /^ def print_load_result(file, exception=nil)$/;" f class:Debugger.XmlPrinter
|
223
|
-
print_methods ruby-debug/xml_printer.rb /^ def print_methods(methods)$/;" f class:Debugger.XmlPrinter
|
224
|
-
print_msg ruby-debug/xml_printer.rb /^ def print_msg(*args)$/;" f class:Debugger.XmlPrinter
|
225
|
-
print_pp ruby-debug/xml_printer.rb /^ def print_pp(exp, value)$/;" f class:Debugger.XmlPrinter
|
226
|
-
print_trace ruby-debug/xml_printer.rb /^ def print_trace(context, file, line)$/;" f class:Debugger.XmlPrinter
|
227
|
-
print_variable ruby-debug/xml_printer.rb /^ def print_variable(name, value, kind)$/;" f class:Debugger.XmlPrinter
|
228
|
-
print_variables ruby-debug/xml_printer.rb /^ def print_variables(vars, kind)$/;" f class:Debugger.XmlPrinter
|
229
|
-
proceed ruby-debug/processor.rb /^ def proceed$/;" f class:Debugger.ControlState
|
230
|
-
proceed ruby-debug/processor.rb /^ def proceed$/;" f class:Debugger.State
|
231
|
-
proceed? ruby-debug/processor.rb /^ def proceed?$/;" f class:Debugger.State
|
232
|
-
process_commands ruby-debug/processor.rb /^ def process_commands$/;" f class:Debugger.ControlCommandProcessor
|
233
|
-
process_context_commands ruby-debug/processor.rb /^ def process_context_commands(input)$/;" f class:Debugger.ControlCommandProcessor
|
234
|
-
processor ruby-debug.rb /^ def processor$/;" f class:Debugger.Context
|
235
|
-
protect ruby-debug/event_processor.rb /^ def self.protect(mname)$/;" F class:Debugger.EventHandler
|
236
|
-
read_command ruby-debug/interface.rb /^ def read_command$/;" f class:Debugger.RemoteInterface
|
237
|
-
reference_result ruby-debug/commands/inspect.rb /^ def self.reference_result(result)$/;" F class:Debugger.InspectCommand
|
238
|
-
regexp ruby-debug/commands/breakpoints.rb /^ def regexp$/;" f class:BreakpointsCommand
|
239
|
-
regexp ruby-debug/commands/breakpoints.rb /^ def regexp$/;" f class:Debugger.AddBreakpoint
|
240
|
-
regexp ruby-debug/commands/breakpoints.rb /^ def regexp$/;" f class:DeleteBreakpointCommand
|
241
|
-
regexp ruby-debug/commands/catchpoint.rb /^ def regexp$/;" f class:Debugger.CatchCommand
|
242
|
-
regexp ruby-debug/commands/control.rb /^ def regexp$/;" f class:Debugger.QuitCommand
|
243
|
-
regexp ruby-debug/commands/control.rb /^ def regexp$/;" f class:InterruptCommand
|
244
|
-
regexp ruby-debug/commands/control.rb /^ def regexp$/;" f class:RestartCommand
|
245
|
-
regexp ruby-debug/commands/control.rb /^ def regexp$/;" f class:StartCommand
|
246
|
-
regexp ruby-debug/commands/eval.rb /^ def regexp$/;" f class:Debugger.EvalCommand
|
247
|
-
regexp ruby-debug/commands/eval.rb /^ def regexp$/;" f class:PPCommand
|
248
|
-
regexp ruby-debug/commands/frame.rb /^ def regexp$/;" f class:Debugger.WhereCommand
|
249
|
-
regexp ruby-debug/commands/frame.rb /^ def regexp$/;" f class:DownCommand
|
250
|
-
regexp ruby-debug/commands/frame.rb /^ def regexp$/;" f class:FrameCommand
|
251
|
-
regexp ruby-debug/commands/frame.rb /^ def regexp$/;" f class:UpCommand
|
252
|
-
regexp ruby-debug/commands/inspect.rb /^ def regexp$/;" f class:Debugger.InspectCommand
|
253
|
-
regexp ruby-debug/commands/load.rb /^ def regexp$/;" f class:Debugger.LoadCommand
|
254
|
-
regexp ruby-debug/commands/stepping.rb /^ def regexp$/;" f class:ContinueCommand
|
255
|
-
regexp ruby-debug/commands/stepping.rb /^ def regexp$/;" f class:Debugger.NextCommand
|
256
|
-
regexp ruby-debug/commands/stepping.rb /^ def regexp$/;" f class:FinishCommand
|
257
|
-
regexp ruby-debug/commands/stepping.rb /^ def regexp$/;" f class:StepCommand
|
258
|
-
regexp ruby-debug/commands/threads.rb /^ def regexp$/;" f class:Debugger.ThreadListCommand
|
259
|
-
regexp ruby-debug/commands/threads.rb /^ def regexp$/;" f class:ThreadCurrentCommand
|
260
|
-
regexp ruby-debug/commands/threads.rb /^ def regexp$/;" f class:ThreadResumeCommand
|
261
|
-
regexp ruby-debug/commands/threads.rb /^ def regexp$/;" f class:ThreadStopCommand
|
262
|
-
regexp ruby-debug/commands/threads.rb /^ def regexp$/;" f class:ThreadSwitchCommand
|
263
|
-
regexp ruby-debug/commands/variables.rb /^ def regexp$/;" f class:Debugger.VarConstantCommand
|
264
|
-
regexp ruby-debug/commands/variables.rb /^ def regexp$/;" f class:VarGlobalCommand
|
265
|
-
regexp ruby-debug/commands/variables.rb /^ def regexp$/;" f class:VarInstanceCommand
|
266
|
-
regexp ruby-debug/commands/variables.rb /^ def regexp$/;" f class:VarLocalCommand
|
267
|
-
run_prog_script ruby-debug.rb /^ def run_prog_script$/;" f class:Debugger
|
268
|
-
show_onoff ruby-debug/helper.rb /^ def show_onoff(bool)$/;" f class:Debugger.ColumnizeFunctions.ParseFunctions
|
269
|
-
splitter ruby-debug/processor.rb /^ def splitter$/;" f class:Debugger.ControlCommandProcessor
|
270
|
-
start_control ruby-debug.rb /^ def start_control(host, port)$/;" f class:Debugger
|
271
|
-
timeout ruby-debug/command.rb /^ def timeout(sec)$/;" f class:Debugger
|