On Apr 12, 3:18 pm, Derek <[email protected]> wrote:
> Hi everybody,
>
> I've just started using Firebug and I'm going by experimentation.  If
> there's any overview of what the user-interface elements actually do,
> I haven't found it.  Same with the power of the underlying JavaScript
> engine as it is used by Firebug.

I guess you looked at getfirebug.com

>
> So here's a simple use case.  I refer to an undefined variable at the
> ">>>" prompt.  I have "break on errosr on".  So I get a decompiled
> script in the Script pane.  In order to see an error message in the
> Console pane, I have to continue in the Script pane.

I don't know what you are saying here.

If I type
>>> foo
then I get
ReferenceError: foo is not defined { message="foo is not defined",
more...}

I don't break on error. (using 1.6a9) even if I have it set.

>
> - Can I abort the evaluation instead?

? its done before you can to anything to abort it.

> - It seems that any new evaluations are ignored until I continue the
> first one, rather than being done in the context of the first error?
> - Can I do anything in the context of the first error?

I guess once I don't understand the first bit the rest does not make
sense.

>
> I'm still learning JavaScript, but I'm quite familiar with how various
> LISP and Scheme systems handle this kind of thing.  If anyone can
> generalize these answers into a few paragraphs, that would be very
> useful.

The Firebug command line is not equivalent to Lisp or Scheme systems.
The latter systems use the prompt as the primary user interface. The
designers of the system used its input / output extensively. The
Firebug command line is an auxiliary UI, the primary UI is the GUI.
The Firebug developers don't really rely on it, though lots of people
love it.

The Firebug command line just takes the string you type in and passes
it to some code hidden in the Web page. The Web page wraps the string
in "with (obj) {}" where obj is the Firebug command line API. Then it
calls eval() on the result and sends it back through the Firebug
console object. That's all there is to it.

jjb

>
> Thanks,
>
> -- Derek

-- 
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