[Sugar-devel] Browse questions for Karma
Tomeu Vizoso
tomeu at sugarlabs.org
Sun Jan 3 06:21:54 EST 2010
On Fri, Jan 1, 2010 at 14:13, Bryan Berry <bryan at olenepal.org> wrote:
> I am trying to run the Karma lessons using Browse instead of regular
> Firefox. Using Browse will enable me to create sugar bundle for karma that
> doesn't include binaries
> I have tested it on os10 of 0.86
> http://dev.laptop.org/~smparrish/XO-1/builds/OS10/os10.img on the XO.
> This build uses xulrunner-1.9.1.5. My version of "Conozco a Uruguay"
> doesn't run at all
> http://karma.sugarlabs.org/examples/Conozco-Uruguay
> I can run "Conozco" on my regular laptop w/ Firefox 3.5 which uses
> xulrunner-1.9.1. My understanding was that Browse basically is Firefox. What
> other components make up Browse and which ones distinguish it from regular
> firefox?
Both Browse and Firefox are based on xulrunner. Hulahop is a Gtk+
widget that allows embedding the xulrunner engine and provides some
glue for using PyXPCOM. Browse uses PyXPCOM as Firefox uses XUL and
XBL.
> My first question is, how can I debug web applications running in Browse?
Debug is a bit wide of a term. As a first shot at anticipating what
you want, you could activate the javascript console and use dump()
calls? Those should appear in the activity log file.
https://developer.mozilla.org/en/Debugging_a_XULRunner_Application
> If
> I can't debug on the XO or w/in Sugar, I need someway to replicate nearly
> the exact Firefox environment on my regular laptop.
You mean the exact Browse? You can install F11 on your laptop, or
sugar-jhbuild, Strawberry SoaS should also be very close.
> Also, is there another image besides os10.img that I should try?
I think I heard from Steve about a new image soon.
Regards,
Tomeu
--
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning
More information about the Sugar-devel
mailing list