Good morning!
And yet another question - is it possible to hook onto the debug output? For example, I am checking several parameter values inside the model conditions codebox and would like to see my "echo" inside the debug section - this would enable me to just switch it off or on with the debug model setting conveniently!!
I imagine, I could just call a certain method from within the connectivity / chrono classes instead of using "echo" or something like this.
This might be a handy information for others, too.😉
Thank you again for your kind support (and for these great and versatile components😀),
Anne
And yet another question - is it possible to hook onto the debug output? For example, I am checking several parameter values inside the model conditions codebox and would like to see my "echo" inside the debug section - this would enable me to just switch it off or on with the debug model setting conveniently!!
I imagine, I could just call a certain method from within the connectivity / chrono classes instead of using "echo" or something like this.
This might be a handy information for others, too.😉
Thank you again for your kind support (and for these great and versatile components😀),
Anne
Hi Anne,
Maybe - I just spent about half-an-hour trying to pin-down just where the debug data is saved. It's the model->dbo->log object somewhere in the CC object. Except that I have failed to work out exactly where it is in the CC object.
I generally try to debug CC by adding code in the Header box like
Bob
Maybe - I just spent about half-an-hour trying to pin-down just where the debug data is saved. It's the model->dbo->log object somewhere in the CC object. Except that I have failed to work out exactly where it is in the CC object.
I generally try to debug CC by adding code in the Header box like
<?php
echo'<div>$this->view->model->dbo->log: '.print_r($this->view->model->dbo->log, true).'</div>';
?>
Be warned - you can get very very long outputs
Bob
This topic is locked and no more replies can be posted.