Welcome Guest, Not a member yet? Register   Sign In
Server Side Debugging
#1

[eluser]jgberg[/eluser]
I am trying to successfully do server side debugging with a full-blown debugger; that is, with breakpoints etc. What I want is to be able to do is debug my code whenever it is exercised on the server. At this point, I've installed a number of remote debugging packages, and so far I've not been able to do what I want. Hopefully, on this thread I can find out if anyone is successfully doing this with CI, and just how it's done.

I have a development machine with apache 2.2.x and CI installed. I have tried these debugger/IDEs: dev-php, eclipse with PDT+plugins, and Zend. I've gotten farthest with Zend as far as enabling remote debugging. Installing this stuff has been hell, just to say it, but eventually I've installed ZendCore, Zend Studio, Zend Debugger, and Zend Platform.

What I would expect, technically speaking is to setup my apache/php environment so that I can connect to it remotely with my debugger, then breakpoint PHP code on the server side such that whenever that code is excercised by some browser hitting the server, when that server runs the breakpointed code it will halt and notify my debugger and allow me to control the code flow from my debugger. There might be an issue with timing out the server response to the browser, but that would be patched.

What I've found is that I cannot make this happen. To be precise, I can run code from the debugger directly, which works fine, but isn't what I need. And I can run from the debugger a URL, which causes CI to choke with "The URI you submitted has disallowed characters." because the debugger is throwing extra crap on the URL and I can't stop it from doing so. And I cannot get it to breakpoint if I hit the proper URL from an external browsers.

So has anyone got this working right? How?

thanks!,
jeffrey


Messages In This Thread
Server Side Debugging - by El Forum - 08-24-2007, 11:25 AM
Server Side Debugging - by El Forum - 08-24-2007, 12:49 PM
Server Side Debugging - by El Forum - 08-25-2007, 08:15 PM
Server Side Debugging - by El Forum - 09-06-2007, 10:26 PM
Server Side Debugging - by El Forum - 09-19-2007, 08:50 PM
Server Side Debugging - by El Forum - 09-19-2007, 09:18 PM
Server Side Debugging - by El Forum - 09-20-2007, 09:27 AM
Server Side Debugging - by El Forum - 09-20-2007, 03:47 PM
Server Side Debugging - by El Forum - 09-20-2007, 04:01 PM
Server Side Debugging - by El Forum - 09-21-2007, 01:47 AM
Server Side Debugging - by El Forum - 09-21-2007, 09:10 PM
Server Side Debugging - by El Forum - 09-22-2007, 05:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB