On 21.03.2011 14:56, Derrell Lipman wrote:
> You are correct that it is much easier to debug with the source version
> than with the build version. For those rare times that you _must_ debug
> with the build version, in the "let" section of your config.json file, set
>   OPTIMIZE : [ ]
> to turn off all optimization, so at least the code is readable. That
> won't add back in all of the debugging code, though. That's done through
> a change of "settings" which I don't recall off hand how to do.
> 
> In your case, though, the problem would almost certainly have been
> detected by a decent debugger. Although I prefer Chrome for all normal
> use, I use Firefox with the Firebug debugger for all qooxdoo debugging,
> as I find it much easier to use than Chrome's debugger, and does a great
> job of catching this sort of error. I would have stopped at the errant
> line, and you could then have seen that the parameter to
> qx.bom.String.escape was null, and looked at the stack trace to see
> where it had been called from. Developing medium and large size
> applications without a good debugger is, in my opinion, a huge waste of
> time. 

Thanks for pointing this out. Note that I *did* use FireBug (Firefox
3.6.13 on Windows) and Google Chrome. But there is no stacktrace and no
indication of any error in either Firebug nor Chrome Development Tools!

Since we are moving away from the initial question (which is answered),
I'll post another message "Getting debug messages in a built version" to
continue this topic.

Luc

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to