ruby-debug-ide22 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +75 -75
  3. data/ChangeLog.archive +1073 -1073
  4. data/ChangeLog.md +594 -594
  5. data/Gemfile +38 -38
  6. data/MIT-LICENSE +24 -24
  7. data/Rakefile +92 -92
  8. data/bin/gdb_wrapper +96 -96
  9. data/bin/rdebug-ide +200 -200
  10. data/ext/mkrf_conf.rb +44 -44
  11. data/lib/ruby-debug-ide/attach/debugger_loader.rb +20 -20
  12. data/lib/ruby-debug-ide/attach/gdb.rb +73 -73
  13. data/lib/ruby-debug-ide/attach/lldb.rb +71 -71
  14. data/lib/ruby-debug-ide/attach/native_debugger.rb +133 -133
  15. data/lib/ruby-debug-ide/attach/process_thread.rb +54 -54
  16. data/lib/ruby-debug-ide/attach/util.rb +114 -114
  17. data/lib/ruby-debug-ide/command.rb +187 -187
  18. data/lib/ruby-debug-ide/commands/breakpoints.rb +128 -128
  19. data/lib/ruby-debug-ide/commands/catchpoint.rb +64 -64
  20. data/lib/ruby-debug-ide/commands/condition.rb +51 -51
  21. data/lib/ruby-debug-ide/commands/control.rb +164 -158
  22. data/lib/ruby-debug-ide/commands/enable.rb +203 -203
  23. data/lib/ruby-debug-ide/commands/eval.rb +64 -64
  24. data/lib/ruby-debug-ide/commands/expression_info.rb +71 -71
  25. data/lib/ruby-debug-ide/commands/file_filtering.rb +106 -106
  26. data/lib/ruby-debug-ide/commands/frame.rb +155 -155
  27. data/lib/ruby-debug-ide/commands/inspect.rb +25 -25
  28. data/lib/ruby-debug-ide/commands/load.rb +17 -17
  29. data/lib/ruby-debug-ide/commands/stepping.rb +108 -108
  30. data/lib/ruby-debug-ide/commands/threads.rb +178 -178
  31. data/lib/ruby-debug-ide/commands/variables.rb +154 -154
  32. data/lib/ruby-debug-ide/event_processor.rb +71 -71
  33. data/lib/ruby-debug-ide/greeter.rb +42 -42
  34. data/lib/ruby-debug-ide/helper.rb +33 -33
  35. data/lib/ruby-debug-ide/ide_processor.rb +155 -155
  36. data/lib/ruby-debug-ide/interface.rb +47 -45
  37. data/lib/ruby-debug-ide/multiprocess/monkey.rb +46 -46
  38. data/lib/ruby-debug-ide/multiprocess/pre_child.rb +58 -58
  39. data/lib/ruby-debug-ide/multiprocess/starter.rb +10 -10
  40. data/lib/ruby-debug-ide/multiprocess/unmonkey.rb +30 -30
  41. data/lib/ruby-debug-ide/multiprocess.rb +22 -22
  42. data/lib/ruby-debug-ide/thread_alias.rb +26 -26
  43. data/lib/ruby-debug-ide/version.rb +3 -3
  44. data/lib/ruby-debug-ide/xml_printer.rb +570 -570
  45. data/lib/ruby-debug-ide.rb +230 -228
  46. data/ruby-debug-ide.gemspec +47 -47
  47. metadata +4 -4
@@ -1,31 +1,31 @@
1
- module Debugger
2
- module MultiProcess
3
- def self.restore_fork
4
- %Q{
5
- alias fork pre_debugger_fork
6
- }
7
- end
8
-
9
- def self.restore_exec
10
- %Q{
11
- alias exec pre_debugger_exec
12
- }
13
- end
14
- end
15
- end
16
-
17
- module Kernel
18
- class << self
19
- module_eval Debugger::MultiProcess.restore_fork
20
- module_eval Debugger::MultiProcess.restore_exec
21
- end
22
- module_eval Debugger::MultiProcess.restore_fork
23
- module_eval Debugger::MultiProcess.restore_exec
24
- end
25
-
26
- module Process
27
- class << self
28
- module_eval Debugger::MultiProcess.restore_fork
29
- module_eval Debugger::MultiProcess.restore_exec
30
- end
1
+ module Debugger
2
+ module MultiProcess
3
+ def self.restore_fork
4
+ %Q{
5
+ alias fork pre_debugger_fork
6
+ }
7
+ end
8
+
9
+ def self.restore_exec
10
+ %Q{
11
+ alias exec pre_debugger_exec
12
+ }
13
+ end
14
+ end
15
+ end
16
+
17
+ module Kernel
18
+ class << self
19
+ module_eval Debugger::MultiProcess.restore_fork
20
+ module_eval Debugger::MultiProcess.restore_exec
21
+ end
22
+ module_eval Debugger::MultiProcess.restore_fork
23
+ module_eval Debugger::MultiProcess.restore_exec
24
+ end
25
+
26
+ module Process
27
+ class << self
28
+ module_eval Debugger::MultiProcess.restore_fork
29
+ module_eval Debugger::MultiProcess.restore_exec
30
+ end
31
31
  end
@@ -1,23 +1,23 @@
1
- if RUBY_VERSION < '1.9'
2
- require 'ruby-debug-ide/multiprocess/pre_child'
3
- else
4
- require_relative 'multiprocess/pre_child'
5
- end
6
-
7
- module Debugger
8
- module MultiProcess
9
- class << self
10
- def do_monkey
11
- load File.expand_path(File.dirname(__FILE__) + '/multiprocess/monkey.rb')
12
- end
13
-
14
- def undo_monkey
15
- if ENV['IDE_PROCESS_DISPATCHER']
16
- load File.expand_path(File.dirname(__FILE__) + '/multiprocess/unmonkey.rb')
17
- ruby_opts = ENV['RUBYOPT'].split(' ')
18
- ENV['RUBYOPT'] = ruby_opts.keep_if {|opt| !opt.end_with?('ruby-debug-ide/multiprocess/starter')}.join(' ')
19
- end
20
- end
21
- end
22
- end
1
+ if RUBY_VERSION < '1.9'
2
+ require 'ruby-debug-ide/multiprocess/pre_child'
3
+ else
4
+ require_relative 'multiprocess/pre_child'
5
+ end
6
+
7
+ module Debugger
8
+ module MultiProcess
9
+ class << self
10
+ def do_monkey
11
+ load File.expand_path(File.dirname(__FILE__) + '/multiprocess/monkey.rb')
12
+ end
13
+
14
+ def undo_monkey
15
+ if ENV['IDE_PROCESS_DISPATCHER']
16
+ load File.expand_path(File.dirname(__FILE__) + '/multiprocess/unmonkey.rb')
17
+ ruby_opts = ENV['RUBYOPT'].split(' ')
18
+ ENV['RUBYOPT'] = ruby_opts.keep_if {|opt| !opt.end_with?('ruby-debug-ide/multiprocess/starter')}.join(' ')
19
+ end
20
+ end
21
+ end
22
+ end
23
23
  end
@@ -1,27 +1,27 @@
1
- module Debugger
2
- module TimeoutHandler
3
- class << self
4
- def do_thread_alias
5
- if defined? ::OldThread
6
- Debugger.print_debug 'Tried to re-alias thread for eval'
7
- return
8
- end
9
-
10
- Object.const_set :OldThread, ::Thread
11
- Object.__send__ :remove_const, :Thread
12
- Object.const_set :Thread, ::Debugger::DebugThread
13
- end
14
-
15
- def undo_thread_alias
16
- unless defined? ::OldThread
17
- Debugger.print_debug 'Tried to de-alias thread twice'
18
- return
19
- end
20
-
21
- Object.__send__ :remove_const, :Thread
22
- Object.const_set :Thread, ::OldThread
23
- Object.__send__ :remove_const, :OldThread
24
- end
25
- end
26
- end
1
+ module Debugger
2
+ module TimeoutHandler
3
+ class << self
4
+ def do_thread_alias
5
+ if defined? ::OldThread
6
+ Debugger.print_debug 'Tried to re-alias thread for eval'
7
+ return
8
+ end
9
+
10
+ Object.const_set :OldThread, ::Thread
11
+ Object.__send__ :remove_const, :Thread
12
+ Object.const_set :Thread, ::Debugger::DebugThread
13
+ end
14
+
15
+ def undo_thread_alias
16
+ unless defined? ::OldThread
17
+ Debugger.print_debug 'Tried to de-alias thread twice'
18
+ return
19
+ end
20
+
21
+ Object.__send__ :remove_const, :Thread
22
+ Object.const_set :Thread, ::OldThread
23
+ Object.__send__ :remove_const, :OldThread
24
+ end
25
+ end
26
+ end
27
27
  end
@@ -1,3 +1,3 @@
1
- module Debugger
2
- IDE_VERSION='0.7.4'
3
- end
1
+ module Debugger
2
+ IDE_VERSION='0.7.5'
3
+ end