ruby-debug-ide 0.7.0.beta2 → 0.7.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a3f1e21c883b1d2befeafb7820117b35d428ed9
|
4
|
+
data.tar.gz: 49f8de5e0c225b12f78ec3088ecda73ffe63dfd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a483218d05b207581359ef13f024b60594b4d53c9877dbc48882eec3d9852303d5ef638e5a78e20e2203af53433935585d8b321f696ad03cbe10143a12301769
|
7
|
+
data.tar.gz: 39346e516797ed25d4ba3b6016ac7d4f2fcd08b6ff311fc79736200538edf7b7e3f194931630553c51b2b6ba3df2ec1cccd5e7664782d829f5ffaf9d8d5a1113
|
@@ -2,11 +2,25 @@ module Debugger
|
|
2
2
|
module TimeoutHandler
|
3
3
|
class << self
|
4
4
|
def do_thread_alias
|
5
|
-
|
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
|
6
13
|
end
|
7
14
|
|
8
15
|
def undo_thread_alias
|
9
|
-
|
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
|
10
24
|
end
|
11
25
|
end
|
12
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-debug-ide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.0.
|
4
|
+
version: 0.7.0.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Barchfeld, Martin Krauskopf, Mark Moseley, JetBrains RubyMine Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -80,8 +80,6 @@ files:
|
|
80
80
|
- lib/ruby-debug-ide/multiprocess/pre_child.rb
|
81
81
|
- lib/ruby-debug-ide/multiprocess/starter.rb
|
82
82
|
- lib/ruby-debug-ide/multiprocess/unmonkey.rb
|
83
|
-
- lib/ruby-debug-ide/thread-alias/alias_thread.rb
|
84
|
-
- lib/ruby-debug-ide/thread-alias/unalias_thread.rb
|
85
83
|
- lib/ruby-debug-ide/thread_alias.rb
|
86
84
|
- lib/ruby-debug-ide/version.rb
|
87
85
|
- lib/ruby-debug-ide/xml_printer.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
Thread = OldThread
|