Welcome Guest, Not a member yet? Register   Sign In
Debuging in PHP
#1

[eluser]Unknown[/eluser]
How the debugging techniques are in use by everyone for PHP and CI. I ran across an issue and ended up using some odd techniques myself.

Here is what I have done so far:

1. Added echo statements at certain points to see if the code was being called (if(..) statements, etc.)
2. Enabled error logging in CI
3. Commented out the set_error_handler(..) call in Front_controller.php so I could see the entire error message with line #‘s included.

Any other good ways to debug stuff in PHP and/or CI?

I really miss breakpoints and stepping through code as it runs….


Messages In This Thread
Debuging in PHP - by El Forum - 04-27-2009, 04:40 PM
Debuging in PHP - by El Forum - 04-28-2009, 03:59 AM
Debuging in PHP - by El Forum - 04-28-2009, 09:32 PM
Debuging in PHP - by El Forum - 05-01-2009, 03:12 AM
Debuging in PHP - by El Forum - 05-01-2009, 03:28 AM
Debuging in PHP - by El Forum - 05-06-2009, 04:01 AM
Debuging in PHP - by El Forum - 05-06-2009, 05:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB