Troubleshooting CodeIgniter - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Troubleshooting CodeIgniter (/showthread.php?tid=56678) |
Troubleshooting CodeIgniter - El Forum - 01-10-2013 [eluser]stevea[/eluser] I'm trying to understand someone else's two-page controller code and it's frustrating not being able to echo out variables at certain places. How do you guys normally troubleshoot CI controllers? Thanks, Steve Troubleshooting CodeIgniter - El Forum - 01-10-2013 [eluser]Aken[/eluser] If you're debugging, just echo out whatever you want then slap an exit; after it. The script will stop after the echo. Obviously that doesn't work as well if you need the controller to continue processing, but yeah. Troubleshooting CodeIgniter - El Forum - 01-10-2013 [eluser]stevea[/eluser] Ok. Thanks. |