On Mon, May 10, 2010 at 6:21 PM, Igor Stasenko
<siguctua@gmail.com> wrote:
2010/5/11 Andrei Stebakov <lispercat@gmail.com>:
>
>
> I just started to use Pharo 1.0. So please
bear with me since I may not
> fully understand the full concept of the
IDE. Sometimes the whole IDE
> freezes indefinitely. So
questions:
> 1) Looks like evaluating anything from the Workspace
freezes the whole UI
> for the time of execution. Is it a bug or a
feature?
all doits evaluated in UI process. So, this is a
feature.
And that's why UI process freezing, if you evaluating something
lengthly.
If you want to run your snippet of code in background, just wrap
it with fork:
[ ... do something... ] fork
It works too. I guess the only way to terminate the forked process is
though the Process Browser (which has some unique name for that block like "[]
in Semaphore>>critical" in this case).
Is there a way to refresh the
Process Browser window so that it shows the new processes (it only refreshes for
me if I close and open it)?
> 2) Sometimes executing something freezes the UI
indefinitely. Is there a way
> to cancel the operation (other than
restarting the image)?
> Strangely in my case the IDE froze on
evaluating HTTPSocket httpGet:
> '
http://www.pharo-project.org/home'
>
you can
interrupt a currently running process by pressing Alt-.
--
Best regards,
Igor Stasenko AKA sig.