On 02/27/2012 02:42 PM, Marc Puts wrote:
> Hi Christof,
> Great to hear you found the problem.
>
> But I'm puzzled... wouldn't accessing a non-existing object member cause
> a javascript error in the console, even in the build version?

Exactly! And in the 'source' version you should have seen warnings about 
that, didn't you?!

Which browser console are you using? Firebug? Chrome Developer Tools?

T.

>
> On 02/27/2012 02:30 PM, Christof Rodejohann wrote:
>> Hi,
>>
>> thank you all for your help. It was like Fritz suggested the access to
>> a private variable. Child classes trying to access a private variable
>> defined in the parent class does not work in "build".
>>
>> Also thx for the debug snippet. I am sure this will come in handy.
>>
>> Regards
>> Christof
>>
>> 2012/2/27 Tristan Koch<[email protected]>:
>>> Hi Christof,
>>>
>>> so "source" works, but "build" does not. Well, generally this shouldn't 
>>> happen. Let's dig a little deeper.
>>>
>>> To enable debugging in the build variant, add this to your configuration 
>>> ("jobs" section):
>>>
>>> "build-script" :
>>> {
>>>    "environment" :
>>>    {
>>>      "qx.debug" : true
>>>    }
>>> }
>>>
>>> One potential source of error might be code optimization. To turn off code 
>>> optimization, define an empty OPTIMIZE macro, like this:
>>>
>>> "let":
>>> {
>>>      …
>>>      "OPTIMIZE"     : []
>>> }
>>>
>>> A situation where you might need to manually require is when dependencies 
>>> cannot be detected automatically, for example if you do some dynamic class 
>>> resolution. However, the fact that "source" is working fine basically rules 
>>> that kind of error out.
>>>
>>> Hope this helps!
>>>
>>> Tristan
>>>
>>> Am 27.02.2012 um 11:58 schrieb Christof Rodejohann:
>>>
>>>> Hi,
>>>>
>>>> "source" runs like a charm. No errors, warnings whatsoever. How do i
>>>> disable the catching of the errors in "build" to debug the current
>>>> error? What might be a situation where i am needed to manually require
>>>> a class which is loaded in "source" but not in "build"?
>>>>
>>>> Regards
>>>> Christof
>>>>
>>>>
>>>> 2012/2/27 Tristan Koch<[email protected]>:
>>>>> Hi Christof,
>>>>>
>>>>> try "source" first.
>>>>>
>>>>> The "build" variant may catch and swallow errors depending on your 
>>>>> configuration. Also, qx.debug is off by default. This does make sense for 
>>>>> production, since you usually don't want to confront your users with 
>>>>> error messages. But for debugging, you want to see all errors.
>>>>>
>>>>> My (wild) guess is that you need to manually require a class using the 
>>>>> #require annotation.
>>>>>
>>>>> Regards
>>>>> Tristan
>>>>>
>>>>> Am 27.02.2012 um 11:28 schrieb Christof Rodejohann:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> i have been building quite a complex application in Qooxdoo. I have
>>>>>> been working in the "source-all" build and everything is working
>>>>>> great. Now i am closing in to a first iteration and tried the "build"
>>>>>> build. There are no errors in the generate process of the "source-all"
>>>>>> and "build". And no JS errors using the "source-all" app. But when
>>>>>> trying to use the "build" app it just stops working at an very early
>>>>>> event. I get no error to console or anything.
>>>>>>
>>>>>> Can anyone give me a hint how to debug the "build" build?
>>>>>>
>>>>>> Thx.
>>>>>> Christof
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Try before you buy = See our experts in action!
>>>>>> The most comprehensive online learning library for Microsoft developers
>>>>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>>>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>>>>> http://p.sf.net/sfu/learndevnow-dev2
>>>>>> _______________________________________________
>>>>>> qooxdoo-devel mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>> ------------------------------------------------------------------------------
>>>>> Try before you buy = See our experts in action!
>>>>> The most comprehensive online learning library for Microsoft developers
>>>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>>>> http://p.sf.net/sfu/learndevnow-dev2
>>>>> _______________________________________________
>>>>> qooxdoo-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>> ------------------------------------------------------------------------------
>>>> Try before you buy = See our experts in action!
>>>> The most comprehensive online learning library for Microsoft developers
>>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>>> http://p.sf.net/sfu/learndevnow-dev2
>>>> _______________________________________________
>>>> qooxdoo-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>> ------------------------------------------------------------------------------
>>> Try before you buy = See our experts in action!
>>> The most comprehensive online learning library for Microsoft developers
>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>> http://p.sf.net/sfu/learndevnow-dev2
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>> ------------------------------------------------------------------------------
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-dev2
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to