On Aug 13, 4:19 pm, Zbynek Michl <[email protected]> wrote:
> Hi there,
>
> I am using background thread in my extension and I am experiencing
> occasional Firefox hanging when Firebug is installed. When I run my
> extension or Firebug alone, Firefox works fine. When I omit threading
> in my code, then Firefox works fine too with both extensions. What
> could cause that collision?

Threading ;-)

Javascript in general and the Mozilla runtime in particular are
designed as event processing systems, not as thread systems. Parts of
the Mozilla runtime supports multiple threads in the usual sense of
one UI thread and other threads which never touch the UI. Parts do
not. In particular jsd, the Javascript debug engine, was written
before any part of the runtime had threads.

WebWorkers can be used for background work, they don't have access to
UI and jsd can't access them.

>
> Firefox 3.6.8, Ubuntu 10.04 i686, Firebug 1.5.4
>
> Thanks,
> Zbynek

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to