How can PhpED debugger be used to debug script which uses Do |
Site Admin
|
I'm not sure how "PhpEd Debugger" can be compared with Apache. PhpED IDE can work with a) local or remote PHP CLI directly or b) SRV, bundled web server or c) local or remote Apache or any other web server capable of running php. So if you mean you didn't succeed running your project with SRV, you can try Apache. In order to do this you may want to create project and proceed with project settings Wizard.
|
||||||||||||
_________________ The PHP IDE team |
|
Hi dmitri,
I just noticed that my subject title was truncated on my original post which might have caused some confusion. I have no problems using PhpED most of the time and think it is great, and typically use the remote web server configuration. The only small issue I have with this option is that it doesn't immediately allow me to debug API's which consume PUT and DELETE requests. I expect the CLI configuration will meet this need, however, another great option is to create a small web page which has a php extension (even if it contains no PHP) and a little Javascript to make a request, and the API PHP script can be followed using the debugger just like any other script. It is only when the API script uses Doctrine that I am experiencing issues. When using the PhpED debugger, the initial entry point file is executed, my routing scripts are executed, Doctrine is queries, but then when when returning the results, the script just mysterious ends without error. I think it has something to do with Doctrine's use of proxies and/or cache, but am not sure. Any recommendations how to use the PhpED debugger for scripts which utilize Doctrine? Thanks |
||||||||||||
|
Site Admin
|
I know I should have asked that in the first post but still it's better later than never. Are you running the latest product with the latest version of the debugger? 19106 & 9.1.9 at the moment. If not, please update them first.
Then, proceed with project settings wizard and make sure that there are no detected issue and no warnings in the output. |
||||||||||||
_________________ The PHP IDE team |
|
Much better! Previously I was almost current but one back. What is funny, however, is if I add a breakpoint on the last line of code, it quickly logs to syslog but does not stop on the breakpoint until about 14 seconds later. And if I put the breakpoint on the second to last line of code, it will not break until 14 seconds later even though with the breakpoint on the other line it just took a few microseconds. Not a show stopper but just curious.
When things like this happen which don't seem right but doesn't result in Apache error logs, is there a PhpED generated log which might give clues?
|
||||||||||||||||
|
Site Admin
|
give php profiler built in the IDE a try
|
||||||||||||
_________________ The PHP IDE team |
How can PhpED debugger be used to debug script which uses Do |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by