On 18.12.2008, at 00:15 , e deleflie wrote:

All,

I'm launching a new thread to upload a file (via net:http) ... then
asynchronously updating the progress bar.

I've noticed that all calls to debug (and any errors in the code
generally) don't get printed to the console (on OSX raisins).

I'm wondering if this is a bug, or whether I should be attempting an
other way of doing it. I was thinking perhaps using the animate method
somehow (although perhaps that would be hacky).

BTW ... can I break out of an animate loop?

Etienne


This works fine for me:

Shoes.app do
        Thread.new do
                loop do
                        debug "test"
                        sleep 1
                end
        end
        para "testing"
end

prints test repeatedly to the console

einarmagnus



Reply via email to