rudebug 0.3.0 → 0.3.1
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/COPYING +56 -56
- data/NEWS +10 -6
- data/README +31 -31
- data/bin/rudebug +4 -4
- data/lib/rudebug/connect.rb +203 -203
- data/lib/rudebug/connection/base.rb +109 -109
- data/lib/rudebug/connection/breakpoint.rb +109 -109
- data/lib/rudebug/connection/ruby-debug.rb +133 -133
- data/lib/rudebug/gtk-patch.rb +5 -3
- metadata +1 -1
data/lib/rudebug/gtk-patch.rb
CHANGED
@@ -5,9 +5,11 @@ class GladeXML # :nodoc:
|
|
5
5
|
# from a glade file against the GC by holding a reference so they won't go
|
6
6
|
# away. However, it can try to reference objects which weren't loaded when we
|
7
7
|
# supply a root argument. This ought to protect against that case. -- flgr
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
if method_defined?(:guard_source_from_gc) then
|
9
|
+
alias :guard_source_from_gc_without_nil_check :guard_source_from_gc
|
10
|
+
def guard_source_from_gc(source)
|
11
|
+
guard_source_from_gc_without_nil_check(source) unless source.nil?
|
12
|
+
end
|
11
13
|
end
|
12
14
|
end
|
13
15
|
|