rhomobile-debug 1.0.1 → 1.0.2
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/CHANGELOG +4 -0
- data/lib/debugger.rb +4 -5
- metadata +4 -4
data/CHANGELOG
CHANGED
data/lib/debugger.rb
CHANGED
@@ -234,13 +234,12 @@ $_tracefunc = lambda{|event, file, line, id, bind, classname|
|
|
234
234
|
|
235
235
|
#$_s.write("start waiting\n")
|
236
236
|
|
237
|
-
|
238
|
-
|
237
|
+
app_type = ENV["APP_TYPE"]
|
239
238
|
$_wait = true
|
240
239
|
while $_wait
|
241
240
|
while debug_handle_cmd(true) do end
|
242
241
|
|
243
|
-
if
|
242
|
+
if app_type.eql? "rhodes"
|
244
243
|
if System::get_property('main_window_closed')
|
245
244
|
$_wait = false
|
246
245
|
end
|
@@ -278,7 +277,7 @@ $_s = nil
|
|
278
277
|
begin
|
279
278
|
puts "[Debugger] Opening connection"
|
280
279
|
debug_host_env = ENV['RHOHOST']
|
281
|
-
debug_port_env = ENV['
|
280
|
+
debug_port_env = ENV['rho_debug_port']
|
282
281
|
debug_path_env = ENV['ROOT_PATH']
|
283
282
|
|
284
283
|
debug_host = (debug_host_env.nil? or debug_host_env == "") ? '127.0.0.1' : debug_host_env
|
@@ -316,7 +315,7 @@ begin
|
|
316
315
|
debug_read_cmd($_s,true)
|
317
316
|
while debug_handle_cmd(false) do end
|
318
317
|
if ($_cmd !~ /^\s*$/) and (Thread.main.stop?)
|
319
|
-
|
318
|
+
#$_s.write("[manage thread] set wait = true\n")
|
320
319
|
$_wait = true
|
321
320
|
Thread.main.wakeup
|
322
321
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rhomobile-debug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 2
|
10
|
+
version: 1.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Rhomobile
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-07-
|
18
|
+
date: 2011-07-06 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|