PHP debugging issues

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
luarena
Posts: 1
Joined: Fri Nov 26, 2010 11:32 am

PHP debugging issues

Post by luarena »

Hello,

I am new to RapidPHP (just evaluating it), and I'm trying to test the PHP debug feature.
I saw RapidPHP can debug either with its own internal webserver or with an external one.

I first tried the internal webserver and got these problems:
  1. I often get a Debugger Error Code 5 (anyway, if I set up a breakpoint the error often disappears);
  2. if I stop the debug session by pressing the Stop button, it does not *really* stop: the Stop button, infact, is still enabled;
  3. if I then try to restart the script, RapidPHP does not run the script: it opens a new blank page (say, Document2);
  4. if I, after step 2 above, try clicking the Stop button again to really stop the debugger, I get an error within rapidphp.exe ("An error occurred in the application") which seems webserver-related (from the bug report: EIdSocketError, 10054 Connection reset by peer).
So I tried using an external webserver (Apache).
I set up these preferences/options:
= Preview > Script Preview, "Use built-in webserver" => unchecked;
= Preview > Mappings, "Use folder mappings..." => checked;
= added a Mapping from the PHP source dir to a virtual dir of my Apache;
= Debugger Settings, "Display output in Web browser" selected, "Listen to external sessions" checked.

With these settings my script works fine but RapidPHP does not stop on breakpoints.

Any suggestions? I am very impressed with RapidPHP features and would like my company to buy some copies of it, but I first need to have at least one debug method running fine.

System config:
Windows XP SP3, RapidPHP 10.2.0.121, Apache 2.2.17, PHP+xDebug 5.2.5 (from your php5xd.exe setup).

Thank you much,
Luca
annyphp
Posts: 5
Joined: Wed Dec 29, 2010 4:33 am

Re: PHP debugging issues

Post by annyphp »

Hi , some php debug scripts listed on the page.
Hopefully can help you!
Best regards!
Post Reply