Have you tried running it with Chrome?  Depending on the particular problem,
Firebug will be unclear (or just not say anything at all) and Chrome will
pinpoint it straight awayŠother times Firebug can be way more informative
than Chrome.

John

From:  Scott Chapman <[email protected]>
Reply-To:  qooxdoo Development <[email protected]>
Date:  Tue, 20 Dec 2011 17:17:38 -0800
To:  qoxdoo-devel <[email protected]>
Subject:  [qooxdoo-devel] app is acting like a breakpoint has been set with
Firebug.

I'm using Firefox 8.0 on Ubuntu 10.04 with FireBug active, with qooxdoo 1.6.

My test app is comprised of these two classes:

qx.Class.define("foo.Application",
{
  extend : qx.application.Standalone,
  members :
  {
    main : function()
    {
      this.base(arguments);

      // Add log appenders
      if (qx.core.Environment.get("qx.debug"))
      {
        qx.log.appender.Native;
      }
      // Create main layout
      var dockLayout = new qx.ui.layout.Dock();
      var dockLayoutComposite = new qx.ui.container.Composite(dockLayout);
      this.getRoot().add(dockLayoutComposite, {edge:0});

      // Create tree view
      this.__kioskTree = new foo.KioskTree();
      this.__kioskTree.setWidth(250);
      //this.__kioskTree.setDecorator("main");
      this.__kioskTree.setPadding(0);
      dockLayoutComposite.add(this.__kioskTree);
    }
  }
});

qx.Class.define("foo.KioskTree",
{
  extend : qx.ui.tree.Tree,
  construct : function()
    {
      this.base(arguments);
        
      // create the controller
      var controller = new qx.data.controller.Tree(null, this, "kids",
"name");

      var url = "http://localhost:7000/tree"; <http://localhost:7000/tree> ;
      var store = new qx.data.store.Json(url);

      // connect the store and the controller
      store.bind("model", controller, "model");
      console.log("T A");
      var tree = this;
      //// show the data in the list when loaded
      store.addListener("loaded", function(ev) {
        console.log("T B");
        tree.getRoot().setOpen(true);
      });
    }
});

It is being served up by my web server (CherryPy static).

When I load it, Firebug shows me line 494 of Xhr.js
(this.__nativeXhr.onreadystatechange;) and wakes up the debug
single-step/continue arrows, etc. Just like I've stopped at a breakpoint.
But I didn't set any breakpoint.

When I load the app with Firebug disabled for the page, everything works
fine.

Any ideas why this is happening and  how to turn it off?!

The content of this email does not necessarily represent the views/opinions
of my employer, Masco Corporation. If you are not the intended recipient of
this email, please let me know since that means it got to you in error.
Please delete it from your computer system since it may contain privileged
or confidential information intended for someone else.
 
Masco does its best to eliminate viruses and other malicious software in
emails and attachments coming through its servers and so cannot be held
responsible if malicious software is inadvertently imbedded in this
communication.
----------------------------------------------------------------------------
-- Write once. Port to many. Get the SDK and tools to simplify
cross-platform app development. Create new or port existing apps to sell to
consumers worldwide. Explore the Intel AppUpSM program developer
opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev____________________________________________
___ qooxdoo-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to