Prev: Is there likely to be any problem with an embedded assert statement like this?
Next: * splat error
From: David Lewis on 3 May 2010 23:49 set_trace_func does not seem to work in an ocra executable -- the proc specified for tracing seems simply not to execute. The tracing works fine when running under straight ruby and under NetBeans, but not with the ocra-fied exe. I'm doing this, by the way, because the ocra-fied exe crashes someplace for a client that it does not crash in straight ruby or NetBeans, and I cannot reproduce it on my system. So I need to put the exe at the customer site with tracing on. If this doesn't work, I guess I will put in a lot of explicit logfile.write's, but that's a p-i-t-a. Thanks. --David. -- Posted via http://www.ruby-forum.com/.
From: David Lewis on 4 May 2010 08:01 David Lewis wrote: > set_trace_func does not seem to work in an ocra executable Ah, I see that set_trace_func is "unsupported". I guess that means flaky. I'm now seeing it fail even in a straight ruby execution, so it's not due to ocra. It works so far in NetBeans, fwiw. http://redmine.ruby-lang.org/issues/show/693 --David. -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: Is there likely to be any problem with an embedded assert statement like this? Next: * splat error |