Error In Yii Debug Bar

Hi all , I am getting an error message when I do this


Yii::trace($this->params);

, where $this->params is an array, this is happening because array to string conversion raises errors, but I think that it would be very convenient for developers to be able to trace all kind of variables directly instead of converting them to string with


print_r($var, true);

before tracing.