Commit 4a23c198 authored by Steve Dierker's avatar Steve Dierker

Use '--timeout' for attach/detach/eval.

See tmm1/rbtrace#32
parent 126adf0d
......@@ -199,7 +199,7 @@ EOS
:short => nil
opt :timeout,
"seconds to wait before giving up on attach/detach",
"seconds to wait before giving up on attach/detach/eval",
:default => 5
......@@ -145,7 +145,7 @@ class RBTracer
send_cmd(:eval, code)
if wait('for eval response', 15){ !!@eval_result }
if wait('for eval response'){ !!@eval_result }
res = @eval_result
@eval_result = nil
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment