Debugging of Codeigniter vars - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Debugging of Codeigniter vars (/showthread.php?tid=60968) |
Debugging of Codeigniter vars - El Forum - 08-13-2014 [eluser]mstdmstd[/eluser] Is it possible in CI 2.2 to show tracing of my vars like calling Code: $this->output->enable_profiler(TRUE); As "similar panel " I mean to write something like this : Code: Appfuncs::deb($pricing_id, '$pricing_id::'); http://s011.radikal.ru/i317/1408/8d/2b4000a7b3c3.png Thanks! Debugging of Codeigniter vars - El Forum - 08-13-2014 [eluser]CroNiX[/eluser] Well yes, but it's not built in. But you could sure add tracing and dump all scoped vars/classes by extending the profiler. Debugging of Codeigniter vars - El Forum - 08-14-2014 [eluser]mstdmstd[/eluser] I searched in net I found several I tried to install from here http://getsparks.org/packages/Debug-Toolbar/versions/HEAD/show and I get an In code : Code: $this->load->spark('Debug-Toolbar/1.0.7'); // error : ( ! ) Fatal error: Call to undefined method CI_Loader::spark() in /controllers/admin/hostel.php on line 37 I am not sure is it corect to writle Code: $this->load->spark('Debug-Toolbar/1.0.7'); Also I am not sure but I copied 2 files from Debug-Toolbar-1.0.7.zip/libraries into /application/libraries and 1 file from /Debug-Toolbar-1.0.7.zip/views into /application/views. is it correct ? Do you know any profile I need compatible with CI 2.2.0 ? Please, share. Debugging of Codeigniter vars - El Forum - 08-14-2014 [eluser]CroNiX[/eluser] Did you set up spark? It's a package manager that isn't included with CI, it includes the load:park() method. Once you have the spark package manager installed you should be able to load a spark. I have no idea if any of those packages work with which version of CI. I haven't used them. http://getsparks.org/install |