Re: [PECL-DEV] My first patch: AMFEXT
[email protected] (Pierre Joye)
| Newsgroups | php.pecl.dev |
|---|---|
| Message-ID | <[email protected]> |
hi, On Fri, Jul 30, 2010 at 11:25 PM, J. Adams <[email protected]> wrote: > Gustavo Lopes wrote: >> >> See what I wrote about --add-project-files. Once you have a working visual >> studio project, you can use its debugger. In fact, you don't even need a >> visual studio project. All you have to do is to have your extension compiled >> with debugging symbols (embedded or thorugh pdbs) and then you can attach to >> a running script (use e.g. exec('pause') to pause the script) with Debug > >> Attach to Process. > > Hi Gustavo. Thanks for your advice. I truly appreciate it. > > I looked more closely at the php source I downloaded and it apparently > contains all kinds of DSP files. I downloaded it from here: > http://windows.php.net/downloads/releases/php-5.3.3-src.zip > > Interestingly, there are THREE different DSP files in the AMFEXT repository > trunk: > http://svn.php.net/viewvc/pecl/amfext/trunk/ > And there is no DSP for PHP itself. Nor is one built when I do > buildconf --add-project-files really, do not use them, really not. The only reasons they are still there is because some developers like them to navigate through the code. You don't need them to debug nor to build PHP (manually creating a sln using the bins work just fine too, or using manual breakpoint like __debugbreak, or using windbg+debug symbols). To build php simply follow the instructions in the wiki. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org