Re: [qooxdoo-devel] debugging my Application.js
On Thu, Feb 3, 2011 at 12:41, josefkoller wrote: > So I open my qooximkerei.js (this one is called in the html page) and > changed the line 32 > from > addNoCacheParam : true, > to > addNoCacheParam :false, > You should not need to do that. With the proper config.json entry, the addNoCacheParam value should be set correctly for you in qooximkerei.js every time you re-run generate.py. So one of your early orders of business to see if Thomas or someone else on the list can help you figure out why your config.json modification isn't doing what it's supposed to. I've used that option in the past, and made it work, so I know that it can... 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
Re: [qooxdoo-devel] debugging my Application.js
> So I open my qooximkerei.js (this one is called in the html page) and > changed the line 32 > from > addNoCacheParam : true, > to > addNoCacheParam :false, > [...] > With this changes I got the Application.js for debugging in safari. > > Is there a problem for the hole one if I change this? qooximkerei.js is being overwritten with every 'generate.py source/source-all'. This means, after the generation process you will have to re-apply your edit. If this is not a problem for you, then there is no problem :). T. -- 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
Re: [qooxdoo-devel] debugging my Application.js
I asked me what I have done because you are so aggressive? In the moment I think you hate your job. This stupid new users and others are in your mind, Im sure. I see the great job and the result - this great framework. A last question: In my first post in this I wrote: [...] So I open my qooximkerei.js (this one is called in the html page) and changed the line 32 from addNoCacheParam : true, to addNoCacheParam :false, [...] With this changes I got the Application.js for debugging in safari. Is there a problem for the hole one if I change this? Josef -- View this message in context: http://qooxdoo.678.n2.nabble.com/debugging-my-Application-js-tp5984488p5989709.html Sent from the qooxdoo mailing list archive at Nabble.com. -- 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
Re: [qooxdoo-devel] debugging my Application.js
On 02/03/2011 06:00 PM, josefkoller wrote: > > Hi, > > I hope I understand it correctly: > > Before I check my new entries in the application.js I have to run the python > script with source? Yep. > Hmmh > You see in my post I'm a beginner and it would like to see what's going on. > So I insert some line of codes into the js file, go to the browser, restart, > ect. > > And that procedure every few lines. > > And now I have to step between creating code and show the result in the > browser to the cmd line and create with python this all new. You can stick with the edit-reload cycle to see your changes, but whenever you introduce using a new class in your app, something like var a = qx.some.Class(); the you have to re-run 'generate.py source'. If you did a 'generate.py source-all' you even have to re-run it only when you insert new *self-written* classes. > Sorry, but I think it is not really a good idea. :-). qooxdoo is not a toy. If you use other class-based frameworks, you have to insert all these class dependencies by hand in your code. Or you maintain include lists. The automatic dependency resolution of qooxdoo only costs you pushing the "up" and "return" key in your shell. The generation process itself will be fast, since only the new stuff needs to be incorporated. This is a small cost for getting code dependencies for free. qooxdoo is geared towards projects with hundreds and even thousands of application classes. You wouldn't want to manage those by hand. > I would like to start new. Is there no possibility to get the firebug to my > new project from beginning? If you start a new project, you will have to go through the same steps as with this one. You see, other people *need* the nocache parameter to be able to test their app thoroughly. If that simple config change and the use of the generator deter you, maybe you should look for a simpler JS framework, like jQuery. > I cann't believe that I ever have to step to the python script. Well, if you want to work with qooxdoo you better do. T. -- 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
Re: [qooxdoo-devel] debugging my Application.js
On Thu, Feb 3, 2011 at 12:00, josefkoller wrote: > > Hi, > > I hope I understand it correctly: > > Before I check my new entries in the application.js I have to run the > python > script with source? > If you're debugging with the "source" version, i.e., you use "generate.py source", what that command does is to create a single JavaScript file that gets loaded, which loads all of the other classes *that you reference in your current application*. If you use "generate.py source-all" then it creates a single JavaScript file that gets loaded, which loads all of the classes in qooxdoo, plus those referenced in your current application. Using the "source-all" option makes development (small) a bit easier because you need to run the generator less frequently, but it makes loading the application take much longer because many classes that you don't even use get loaded. Let's assume that you're using the "source" option instead. You can edit your application without needing to re-run the generator, as long as your application does not require any classes that were not previously required. If you're making small changes to your application, you can just press Reload in the browser. On the other hand, if you make changes that require use of classes that were not previously referenced, that JavaScript file I mentioned earlier, that loads all of the classes, won't contain this new class that you're now referencing, so you need to run the generator again so that it rebuilds that JavaScript loader file to include this newly-referenced class. The same applies if you add a new class of your own, i.e. in your application. Since the generated loader file doesn't know about your new class, you'd re-run the generator so that your new class can get loaded when you refresh the browser. If you're using the "source-all" version, you need to re-run the generator only when you add classes of your own, since all of the qooxdoo classes were already added to that loader file. But, as previously mentioned, using "source-all" takes much longer to refresh your application because of the very many unused classes that get loaded. Hope that helps your understanding. 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
Re: [qooxdoo-devel] debugging my Application.js
Hi, I hope I understand it correctly: Before I check my new entries in the application.js I have to run the python script with source? Hmmh You see in my post I'm a beginner and it would like to see what's going on. So I insert some line of codes into the js file, go to the browser, restart, ect. And that procedure every few lines. And now I have to step between creating code and show the result in the browser to the cmd line and create with python this all new. Sorry, but I think it is not really a good idea. I would like to start new. Is there no possibility to get the firebug to my new project from beginning? I cann't believe that I ever have to step to the python script. Thanks again Josef -- View this message in context: http://qooxdoo.678.n2.nabble.com/debugging-my-Application-js-tp5984488p5989549.html Sent from the qooxdoo mailing list archive at Nabble.com. -- 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
Re: [qooxdoo-devel] debugging my Application.js
> So I get the hint: > changing the entry in config.json and set the command: > > generate.py source > > All looks fine. I got my debugger in firebird and the js files hadn't a > nocache parameter. > > But now I would like to get some more text in my Application.js. > > for example > > tabsheet = new qx.ui. ... > > and now I get an error that this one is not a constructor. It seems I can > now only work with this objects I created before this statement. > > generate.py source Yes. So just re-run 'generate.py source' and your new dependencies are picked up. Reload in the browser and it should work. Alternatively, you can run a 'generate.py source-all' which alleviates you from re-running the generator when using new framework classes in your app. But as soon as you create new custom classes, you need to re-run that too. So you see, sooner or later you have to re-run the generator command, in order to see the proper effect of your changes. > No problem I thought: I started from new means I built a new project and > before I starts the command: "generate.py source-all" I changed the entry > in the config.json. No, don't start a new project - stick with your first one :). > And at least by starting source-all or only source I got this warning: > Shadowing job "source-script with local one > and some lines later the warning: > Excludes may break code ([u'qx.test.*', u'qximkerei.test.*', > u'qximkerei.simulation.*']). That's all fine, and you can ignore those for the moment. Just re-run 'generate.py source/source-all' in your initial app. T. -- 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
Re: [qooxdoo-devel] debugging my Application.js
Hello, I don't understand some technics in qooxdoo, but I will learn it. But now I donn't know what I have to do. Please see my post in this debugger story before. Here are a short summery from the first post: http://qooxdoo.678.n2.nabble.com/debugging-my-Application-js-tp5984488p5989309.html Sent from the qooxdoo mailing list archive at Nabble.com. -- 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
Re: [qooxdoo-devel] debugging my Application.js
Hi, you are the chief of commanders and you have the last word. No problem for me. Anyway thanks for the tip. Josef -- View this message in context: http://qooxdoo.678.n2.nabble.com/debugging-my-Application-js-tp5984488p5986797.html Sent from the qooxdoo mailing list archive at Nabble.com. -- 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
Re: [qooxdoo-devel] debugging my Application.js
>> For one thing, you should properly report what is going on, e.g. what is >> the the action you are trying to perform and which error message you >> get. >> Otherwise we all need to guess wildly what "doesn't help" means. >> > > I thought you read my first post in this tread. In the first one there are > all definations you missed. I cann't repeat in every answer the hole > "first > statement". My statement had nothing to do with your first post. The last couple of posts in this thread revolved around changes to your config.json, so it was only fair to be interested in the error message you *then* might have gotten, after applying all those changes. Pointing to your initial post doesn't help here. And if you had payed a little more attention to reporting your own process, as I suggested, you might have written "After the changes to the config.json, I reloaded my app, but the cache parameters are still there", instead of the less meaningful "It doesn't work". Then somebody might have pointed out earlier that you need to re-generate your app, in order to make the config changes take effect. T. -- 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
Re: [qooxdoo-devel] debugging my Application.js
Hi thron7-2, thanks for answer. thron7-2 wrote: > > For one thing, you should properly report what is going on, e.g. what is > the the action you are trying to perform and which error message you get. > Otherwise we all need to guess wildly what "doesn't help" means. > I thought you read my first post in this tread. In the first one there are all definations you missed. I cann't repeat in every answer the hole "first statement". thron7-2 wrote: > > Then, remove the entire "libraries" section from your config. This is a > template section for those wanting to use contribs, and this doesn't work > at the moment anyway. > > Then, run your command, e.g. 'generate.py source', and post the generator > error messages, if any. > The missing link is not the libraries I think. The missing link is the regeneration with python. After regeneration with Derrell's code it works. Nobody in the posts before told me I have to regenerate my app. Now it works means I can catch my Application.js in firebug. Thanks Josef -- View this message in context: http://qooxdoo.678.n2.nabble.com/debugging-my-Application-js-tp5984488p5985874.html Sent from the qooxdoo mailing list archive at Nabble.com. -- 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
Re: [qooxdoo-devel] debugging my Application.js
Hi thron7-2, thanks for answer. thron7-2 wrote: > > For one thing, you should properly report what is going on, e.g. what is > the the action you are trying to perform and which error message you get. > Otherwise we all need to guess wildly what "doesn't help" means. > I thought you read my first post in this tread. In the first one there are all definations you missed. I cann't repeat in every answer the hole "first statement". thron7-2 wrote: > > Then, remove the entire "libraries" section from your config. This is a > template section for those wanting to use contribs, and this doesn't work > at the moment anyway. > > Then, run your command, e.g. 'generate.py source', and post the generator > error messages, if any. > The missing link is not the libraries I think. The missing link is the regeneration with python. After regeneration with Derrell's code it works. Nobody in the posts before told me I have to regenerate my app. Now it works means I can catch my Application.js in firebug. Thanks Josef -- View this message in context: http://qooxdoo.678.n2.nabble.com/debugging-my-Application-js-tp5984488p5985872.html Sent from the qooxdoo mailing list archive at Nabble.com. -- 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
Re: [qooxdoo-devel] debugging my Application.js
On Wed, Feb 2, 2011 at 12:11, thron7 wrote: > For one thing, you should properly report what is going on, e.g. what is > the the action you are trying to perform and which error message you get. > Otherwise we all need to guess wildly what "doesn't help" means. > Thomas, his goal is to get rid of the no-cache parameter. I gave him what I think is the build-script block to go in config.json, but apparently it's not working for him. 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
Re: [qooxdoo-devel] debugging my Application.js
> > sorry. here in zip-format. > > http://qooxdoo.678.n2.nabble.com/file/n5985532/config.zip config.zip > > And this comma before jobs doesn't helps. > > I forgot this comma. In Original the hole jobs were in comment lines > > /* > > */ > > alfter deleting this comment signs I forgot the comma before. But it > doesn't > helps. For one thing, you should properly report what is going on, e.g. what is the the action you are trying to perform and which error message you get. Otherwise we all need to guess wildly what "doesn't help" means. Then, remove the entire "libraries" section from your config. This is a template section for those wanting to use contribs, and this doesn't work at the moment anyway. Then, run your command, e.g. 'generate.py source', and post the generator error messages, if any. T. -- 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
Re: [qooxdoo-devel] debugging my Application.js
sorry. here in zip-format. http://qooxdoo.678.n2.nabble.com/file/n5985532/config.zip config.zip And this comma before jobs doesn't helps. I forgot this comma. In Original the hole jobs were in comment lines /* */ alfter deleting this comment signs I forgot the comma before. But it doesn't helps. Josef -- View this message in context: http://qooxdoo.678.n2.nabble.com/debugging-my-Application-js-tp5984488p5985532.html Sent from the qooxdoo mailing list archive at Nabble.com. -- 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
Re: [qooxdoo-devel] debugging my Application.js
Please use a free archive format, like zip, gzip, tar, bzip2. On 02/02/2011 04:43 PM, josefkoller wrote: > > sorry. Here is the file. > http://qooxdoo.678.n2.nabble.com/file/n5985253/config.rar config.rar -- 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
Re: [qooxdoo-devel] debugging my Application.js
On Wed, Feb 2, 2011 at 10:43, josefkoller wrote: > > sorry. Here is the file. > http://qooxdoo.678.n2.nabble.com/file/n5985253/config.rar config.rar > You are missing a comma after the "let" member's closing brace, before "jobs". That may be your problem. 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
Re: [qooxdoo-devel] debugging my Application.js
sorry. Here is the file. http://qooxdoo.678.n2.nabble.com/file/n5985253/config.rar config.rar -- View this message in context: http://qooxdoo.678.n2.nabble.com/debugging-my-Application-js-tp5984488p5985253.html Sent from the qooxdoo mailing list archive at Nabble.com. -- 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
Re: [qooxdoo-devel] debugging my Application.js
No attachment ... Cheers, Fritz On Wed, 2 Feb 2011, josefkoller wrote: > > Hi, > > sorry that missing brakets are a result by copy/pasting. > > I have attached the complete config.json. > > Thanks > > Josef > -- Oetiker+Partner AG tel: +41 62 775 9903 (direct) Fritz Zaucker+41 62 775 9900 (switch board) Aarweg 15+41 79 675 0630 (mobile) CH-4600 Olten fax: +41 62 775 9905 Schweiz web: www.oetiker.ch -- 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
Re: [qooxdoo-devel] debugging my Application.js
Hi, sorry that missing brakets are a result by copy/pasting. I have attached the complete config.json. Thanks Josef -- View this message in context: http://qooxdoo.678.n2.nabble.com/debugging-my-Application-js-tp5984488p5985203.html Sent from the qooxdoo mailing list archive at Nabble.com. -- 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
Re: [qooxdoo-devel] debugging my Application.js
Hi Josef
You have in build section three open braces and just two closed. That's a
syntax error. The same at source section.
Regards Sak
Von meinem iPhone gesendet
Am 02.02.2011 um 14:47 schrieb josefkoller :
>
> Hi Derrell,
>
> I gave your code to my config.json like this:
>
> "build-script" :
>{
> "compile-options" :
> {
> "code" :
> {
> "format" : false
>
> }
>},
>
>"source-script" :
>{
> "compile-options" :
> {
> "uris" : {
> "add-nocache-param" : false
> }
> }
>
> after the build script object.
>
> Nothing: The only two files in my list in firebug without a cache paramter
> are index.html and qooximkerei.js (my name by python generation).
>
> Deleting all other objects in the jobs statment?
>
> Or is it better I build a "empty build version and work with this?
>
> And by the way:
>
> This debugger line (the the post before) stops the code on this point.
>
> Josef
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/debugging-my-Application-js-tp5984488p5984830.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> --
> 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
--
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
Re: [qooxdoo-devel] debugging my Application.js
Please copy your entire config.json file into a reply to this message, and
Thomas or someone else on this list should be able to help you fix it.
Thomas is the expert on the config files.
Derrell
On Wed, Feb 2, 2011 at 08:47, josefkoller wrote:
>
> Hi Derrell,
>
> I gave your code to my config.json like this:
>
> "build-script" :
>{
> "compile-options" :
> {
> "code" :
> {
> "format" : false
>
> }
>},
>
>"source-script" :
>{
> "compile-options" :
> {
> "uris" : {
> "add-nocache-param" : false
> }
> }
>
> after the build script object.
>
> Nothing: The only two files in my list in firebug without a cache paramter
> are index.html and qooximkerei.js (my name by python generation).
>
> Deleting all other objects in the jobs statment?
>
> Or is it better I build a "empty build version and work with this?
>
> And by the way:
>
> This debugger line (the the post before) stops the code on this point.
>
> Josef
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/debugging-my-Application-js-tp5984488p5984830.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
>
> --
> 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
>
--
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
Re: [qooxdoo-devel] debugging my Application.js
Hi Derrell,
I gave your code to my config.json like this:
"build-script" :
{
"compile-options" :
{
"code" :
{
"format" : false
}
},
"source-script" :
{
"compile-options" :
{
"uris" : {
"add-nocache-param" : false
}
}
after the build script object.
Nothing: The only two files in my list in firebug without a cache paramter
are index.html and qooximkerei.js (my name by python generation).
Deleting all other objects in the jobs statment?
Or is it better I build a "empty build version and work with this?
And by the way:
This debugger line (the the post before) stops the code on this point.
Josef
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/debugging-my-Application-js-tp5984488p5984830.html
Sent from the qooxdoo mailing list archive at Nabble.com.
--
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
Re: [qooxdoo-devel] debugging my Application.js
On Wed, 2 Feb 2011, Christian Hagendorn wrote:
> the easiest way is to add a "debugger" statement in your source code and
> reload you "source" application. FireBug an other tools automatically
> stops the script when the debugger statement is arrived.
>
>
> var button = new qx.ui.form.Button("First Button", "myapp/test.png");
>
> // FireBug stops here
> debugger;
Cute, I didn't know that!
Cheers,
Fritz
--
Oetiker+Partner AG tel: +41 62 775 9903 (direct)
Fritz Zaucker+41 62 775 9900 (switch board)
Aarweg 15+41 79 675 0630 (mobile)
CH-4600 Olten fax: +41 62 775 9905
Schweiz web: www.oetiker.ch
--
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
Re: [qooxdoo-devel] debugging my Application.js
On Wed, Feb 2, 2011 at 07:05, Derrell Lipman < [email protected]> wrote: > On Wed, Feb 2, 2011 at 06:56, josefkoller wrote: > >> What I have to do to get my Applications.js script in firebug to set >> breakpoints, ect.? >> > > You're on the right track. Instead of editing a file after running > generate.py, though, this can be configured so that it never adds the cache > parameter when using the source version. I don't have the qooxdoo source > convenient, but I'm pretty sure that there's an entry you put in config.json > that changes that setting. If you look at the config.json documentation, > it's almost certainly mentioned there... or someone else will pipe in with > the proper setting. > Here's the setting I was referring to. I believe this is what you need to add to your config.json to remove the nocache parameter: "jobs" : { "source-script" : { "compile-options" : { "uris" : { "add-nocache-param" : false } } } } 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
Re: [qooxdoo-devel] debugging my Application.js
Hi Josef,
the easiest way is to add a "debugger" statement in your source code and
reload you "source" application. FireBug an other tools automatically
stops the script when the debugger statement is arrived.
var button = new qx.ui.form.Button("First Button", "myapp/test.png");
// FireBug stops here
debugger;
this.getRoot().add(button1, {left: 100, top: 50});
button1.addListener("execute", function(e) {
// FireBug also stops here, when the handler is executed
debugger;
this.debug("Hello World!");
}, this);
Cheers,
Chris
Am 02.02.2011 12:56, schrieb josefkoller:
> Hi,
>
> I have problems to debug my code in Applications.js in firebug. If I open my
> index.html in FF I get in firebug by scripts the button index.html.
>
> Clicking to this button I get a long list with lot of script most of them
> ending with js?nocache = ...
> the Application.js, too.
>
> If I click than into this file to set breakpoints in it and restart the
> browser nothing happens. I think the breakpoints are cleared before
> (nocache, ect.).
>
> So I open my qooximkerei.js (this one is called in the html page) and
> changed the line 32
> from
> addNoCacheParam : true,
> to
> addNoCacheParam :false
>
> After saving and restarting in FF I get in the script list an entry
> Application.js (without ? nocache
> But now I get the concole message:
>
> Create event of type error with undefined class. Please use null to explicit
> fallback to default event type!
> [Bei diesem Fehler anhalten] throw new Error("Create even...it fallback to
> default event type!");
> Registration.js (Zeile 236);
>
> I swithed to safari and start my file in this browser. All is fine. The
> script runs, I find my Application.js I can set breakpoints, ect.
>
> What I have to do to get my Applications.js script in firebug to set
> breakpoints, ect.?
>
> Thanks
>
> Josef
--
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
Re: [qooxdoo-devel] debugging my Application.js
On Wed, Feb 2, 2011 at 06:56, josefkoller wrote: > What I have to do to get my Applications.js script in firebug to set > breakpoints, ect.? > You're on the right track. Instead of editing a file after running generate.py, though, this can be configured so that it never adds the cache parameter when using the source version. I don't have the qooxdoo source convenient, but I'm pretty sure that there's an entry you put in config.json that changes that setting. If you look at the config.json documentation, it's almost certainly mentioned there... or someone else will pipe in with the proper setting. 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
