I have seen this code in Property.js:

    error : function(obj, id, property, variant, value)
    {
      var classname = obj.constructor.classname;
      var msg = "Error in property " + property + " of class " + classname +
" in method " + this.$$method[variant][property] + " with incoming value '"
+ value + "': ";

      obj.printStackTrace();
      throw new Error(msg + (this.__errors[id] || "Unknown reason: " + id));
    }, 

Don't know why the stack trace is missing.
I'm using the Firebug appender.


dperez wrote:
> 
> It would be nice to have a call stack for errors like this:
> 
> [Exception... "'Error: Error in property backgroundColor of class
> qx.ui.basic.Terminator in method setBackgroundColor with incoming value
> '255,255,0': Is invalid!' when calling method:
> [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c
> (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]
> 
> It's a little hard to know where the error is, when you have thousands of
> lines of code.
> 
> Regards,
> David
> 

-- 
View this message in context: 
http://www.nabble.com/Call-stack-tf3901251.html#a11059597
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to