debug 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/rdbg +1 -1
- data/ext/debug/extconf.rb +1 -1
- data/lib/debug/session.rb +8 -3
- data/lib/debug/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78f83c7a7b44c3cae68d784d70fd653410ebce976c02bf846a9992f102634d98
|
4
|
+
data.tar.gz: b34c3d6b060aa20db1794905aef969105070d556862ceac4cf02ccc88db9bf0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c408ae087cd00a03e53410a9f6c3c54e2e4536d41784fb109dedd278d8b7941182a925593bf34991bfc2c15ed43e7baa20c736bde0aecb72b832fbdb4f4b55fe
|
7
|
+
data.tar.gz: b223e415ae539a0b95303b065f029afe48cd2007697979d66ca94e157d7823b848ffd40c1ccc5e2947d69a8aa1c23c08961ade262bc6315f267ec73176c2d882
|
data/exe/rdbg
CHANGED
data/ext/debug/extconf.rb
CHANGED
data/lib/debug/session.rb
CHANGED
@@ -1641,6 +1641,7 @@ module DEBUGGER__
|
|
1641
1641
|
|
1642
1642
|
def method_added tp
|
1643
1643
|
b = tp.binding
|
1644
|
+
|
1644
1645
|
if var_name = b.local_variables.first
|
1645
1646
|
mid = b.local_variable_get(var_name)
|
1646
1647
|
resolved = true
|
@@ -1665,7 +1666,7 @@ module DEBUGGER__
|
|
1665
1666
|
case mid
|
1666
1667
|
when :method_added, :singleton_method_added
|
1667
1668
|
Session.create_method_added_tracker(tp.self, mid)
|
1668
|
-
Session.
|
1669
|
+
Session.activate_method_added_trackers unless resolved
|
1669
1670
|
end
|
1670
1671
|
end
|
1671
1672
|
end
|
@@ -1673,6 +1674,10 @@ module DEBUGGER__
|
|
1673
1674
|
class ::Module
|
1674
1675
|
undef method_added
|
1675
1676
|
def method_added mid; end
|
1677
|
+
end
|
1678
|
+
|
1679
|
+
class ::BasicObject
|
1680
|
+
undef singleton_method_added
|
1676
1681
|
def singleton_method_added mid; end
|
1677
1682
|
end
|
1678
1683
|
|
@@ -1698,8 +1703,8 @@ module DEBUGGER__
|
|
1698
1703
|
end
|
1699
1704
|
|
1700
1705
|
METHOD_ADDED_TRACKERS = Hash.new
|
1701
|
-
create_method_added_tracker Module, :method_added,
|
1702
|
-
create_method_added_tracker
|
1706
|
+
create_method_added_tracker Module, :method_added, :instance_method
|
1707
|
+
create_method_added_tracker BasicObject, :singleton_method_added, :instance_method
|
1703
1708
|
|
1704
1709
|
def width
|
1705
1710
|
@ui.width
|
data/lib/debug/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: debug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Koichi Sasada
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: irb
|