Hi Dave,

it seems to me this is a general problem, because the qx.ui.core.queue.Manager use in the qx 1.0 version a try/catch statement which makes the queue robust. But this could brake the stack trace.

Please apply my attached patch to the __executeAndRescheduleOnError method from the qx.ui.core.queue.Manager. I hope this solve you problem

I also opened a bug report, that the try/catch should only be done in the build version.
http://bugzilla.qooxdoo.org/show_bug.cgi?id=3418

Cheers,
Chris



Am 04.02.2010 17:46, schrieb Dave Baggett:
I've been using the free Microsoft debugger called Visual Web Developer 2008
for a while now. It's great: when something bad happens you get a nice stack
to look at and an immediate window where you can evaluate expressions. In
other words, a real debugger, even in IE.

However, since I upgraded to qooxdoo 1.0, I'm finding that many stack traces
are bogus. If I refer to a nonexistent property -- due to a typo for example
-- then I get an alert box in the debugger saying something sensible like
"object does not support this property or method", but when I break and look
at the stack trace, it's always the same: it starts with a "mouseup" event
handler and ends up in some mystery function with these locals:

   callback: {...}
   finallyCode: {...}
   self: {Class qx.ui.core.queue.Manager}
   e: {Object does not support this property or method}

and the debugger shows me some totally unrelated lines of code in the source
view.

This happens with both the 2008 and the 2010 Beta 2 versions.

QooxDoo gods, any clues what's hijacking my stack when exceptions occur?
This makes debugging typos take about 100 times longer.

Dave


--
Christian Schmidt
Software Entwickler

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
schmidt.christ...@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren

Index: framework/source/class/qx/ui/core/queue/Manager.js
===================================================================
--- framework/source/class/qx/ui/core/queue/Manager.js  (revision 21494)
+++ framework/source/class/qx/ui/core/queue/Manager.js  (working copy)
@@ -170,6 +170,12 @@
     {
       var self = qx.ui.core.queue.Manager;
 
+      if (qx.core.Variant.isSet("qx.debug", "on")) {
+        callback();
+        finallyCode();
+        return;
+      }
+      
       try
       {
         callback();
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to