Debugging PHP Extensions
Posted: Fri Jan 23, 2009 12:16 pm
I'm having difficulty debugging a PHP extension in Visual Studio and Windows (as a DLL). The resources I've found that describe how to attach the DLL to PHP don't seem to work in my case (using both Visual Studio 2005 Professional and Visual Studio 2008 Express). The issue is that I have no idea where in the 500 line PHP extension the issue occurs and I don't want to have to track it down using commenting out techniques. It would be a lot faster moving forward to debug the extension as part of PHP. This isn't entirely easy on Windows and I don't know how to do debugging on Linux.
Has anyone built a PHP Extension on Windows using Visual Studio (or really any compiler will do as long as I can debug the PHP extension). It would be most good, if you would like the source code, then I can give the location of it as well.
Has anyone built a PHP Extension on Windows using Visual Studio (or really any compiler will do as long as I can debug the PHP extension). It would be most good, if you would like the source code, then I can give the location of it as well.