logo       

Re: debugging [almost] works!: msg#00002

ide.eclipse.phpeclipse.devel

Subject: Re: debugging [almost] works!


Some more info... Many people before me noticed you can make the debugging work once, step through the code and see the variables, but after that you cannot repeat it again. I saw the same...

What I found out in my (linux) system is that if I restart apache and I have the PHP Browser view open then I can make it work again. Tried this many times now. So far I have only played with the example script given in the wiki, and unlike the instruction in the wiki, I do not uncheck the /Open with DBGSession URL in internal Browser /box even though I am not using windows. But I do need the PHP Browser window open for debugging to work.

Luis Bernardo wrote:


I don't know if people are aware, but there are new binaries and source code for dbg since a few days ago.

I know that some people have had some success with debugging. I was not among them because I always use the mosts recent version (quite often the development version) of PHP and the dbg binaries available were for older versions. Besides that, I had been unable to compile the sources.

This changed a few days ago. There are binaries up to PHP-5.1.2 and I was able to compile the new dbg source (in Fedora Core 4). So I followed the DBG installation instructions in the wiki and the example worked, both in Windows and Linux (running Eclipse-3.1.2 with PHPEclispe-1.1.8-CVS). Now, there are certainly many issues to fix because I cannot make it work all the time, and when it works and I step through the code for the example, I see that the element zero of the "aThings" array is changing value with each iteration when it shouldn't.

If you had tried debugging before and given up maybe now it is a good time to get the new binaries and try again.

Luis


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Phpeclipse-devel mailing list
Phpeclipse-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/phpeclipse-devel




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise