Debugging of Codeigniter vars |
[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!
[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.
[eluser]mstdmstd[/eluser]
I searched in net I found several I tried to install from here http://getsparks.org/packages/Debug-Tool.../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.
[eluser]CroNiX[/eluser]
Did you set up spark? It's a package manager that isn't included with CI, it includes the load: ![]() http://getsparks.org/install |
Welcome Guest, Not a member yet? Register Sign In |