There’s one potential drawback i see. The standard error handler only displays “Array” as call argument, while samdark’s shows the content of that array. This will work pretty well for simple array, but could smash the trace layout if the array contains lot of values or long strings.
Yes i agree looks much better… does anybody use the stack trace now? I mostly ignore it because it is not readable… and gives too much info i dont need
Of course - and i wonder how someone can seriously try to debug without the stack trace . I think it’s a little extreme to call it “not readable” - just take your time to get used to it and understand all the information it provides. But there’s always room for improvement .
Yeah, I use the stack trace pretty often but it’s really hard to read. It would be great if you could easily see the filename, line number, function called and the arguments, which you cannot at the moment.
Yeah, I would like it if the filename and line number were bold in the stack trace, as that’s the most important part (generally in Yii you don’t have files with the same name so you don’t need to know the path)
Yeah, that would be cool, but you would have to be careful about screen estate. That would be a lot of information. Maybe if there were expand/collapse buttons to view the code, with the code hidden by default. Just like on google code: http://code.google.com/p/yii/source/detail?r=2280