On Sat, Jan 29, 2011 at 06:41, josefkoller <[email protected]> wrote:
>
> And in firebug I don't get my Application.js to set a breakpoint, ect. I
> get
> only my qximkerei.js.
>
It sounds like you are debugging with the "build" version instead of with
the "source" version, i.e. you're typing "generate.py build" instead of
"generate.py source". The build version puts everything into a single file,
for the purpose of deployment on your final web server. It also typically
(unless you've changed things) optimizes variable names and a number of
other things, making it much more efficient but FAR more difficult to debug.
When you generate the source version, what's created instead is an
index.html file which includes a JavaScript file that does nothing but
include all of the relevant qooxdoo source files and your source file. This
means that debugging with breakpoints is done in the actual source files,
and not in that generated combined, optimized source file.
As to development environment, it's very much personal preference. I use
emacs with the "js2" package for editing JavaScript. That package parses the
JavaScript as I work, showing me syntax errors, multiply-defined variables,
undefined (global) variables, etc. For debugging, Firebug is quite good.
I've tried the debugger in Chrome and found it less easy to use, but also
reasonably effective.
Derrell
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel