[Sugar-devel] Browse questions for Karma

Bryan Berry bryan at olenepal.org
Sun Jan 3 07:06:32 EST 2010


On Sun, Jan 3, 2010 at 5:06 PM, Tomeu Vizoso <tomeu at sugarlabs.org> wrote:

> 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


this is quite helpful, tks


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


I will probably go w/ SoaS then. My bandwidth is too lousy to run
sugar-jhbuild


> > Also, is there another image besides os10.img that I should try?
>
> I think I heard from Steve about a new image soon.
>
> Regards,
>

I look forward to using it. tks for your help tomeu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100103/38be86e2/attachment.htm 


More information about the Sugar-devel mailing list