travis at osafoundation.org
Mon Jul 7 11:27:55 PDT 2008
The core Web UI developers all use Firebug when developing in Firefox.
As you've noticed, Firebug can be somewhat buggy, but with a few
tweaks it yields what is probably the most flexible debugging
environment currently available for a large application like ours.
Probably the biggest bug blocking current debugging workflows is this:
Essentially, Firebug's algorithm for detecting eval statements is
pretty primitive, and isn't able to detect the main dojo.require eval,
leading to a useless debugger. This can be fixed by using an entirely
un-packaged codebase for debugging.
To do this, you should first head into $COSMO_ROOT/cosmo-js and run
Next, follow the instructions here:
finally, head into $COSMO_ROOT/cosmo/src/main/webapp/js and do:
mv dojo dojo-original;
ln -s ../../../../../cosmo-js/dojo-src/dojo
The next time you load the application you should have more luck
Please feel free to ask more questions if you have trouble,
On Jul 7, 2008, at 7:48 AM, vaibhav saxena wrote:
> Hi Travis,
> Its long time to post the mail on the community as i was out of the
> station for a long while, but i promise to keep in touch with the
> community from right now.
> be best fitted in the enviorement of the cosmo codebase to debug the
> eval code. I have found some interesting debugger like ATF, Aptana,
> the debugging of the eval code.
> I have found some properties of dojo which when set, the eval code
> is easy to debug but it is supported by the dojo older version. I
> an too much interested to know how the developers of cosmo set the
> and highly structured . Can ypu please guide me to setup my working
> enviorement for the debug. At the time i am using the firebug but i
> am unable to set the breakpoint in code for the data flow assistance.
> Thanks in advance,
> VAIBHAV SAXENA
> Jr. Software Developeer
> Contact Me at : 09953058839
> vaibhav1407 at gmail.com _______________________________________________
> cosmo-dev mailing list
> cosmo-dev at lists.osafoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cosmo-dev