Dbugging PHP and Eclipse



Hi all,

This is my first PHP development project. So far, I have around 15 classes
and 8 viewable pages. I've overcome a number of ideosynchrosies (such as no
whitespace after the heredoc end delimiter, jeez!). But, debugging has been
a tortuous problem for me.

I'm developing PHP 5.2.4 applications in an Eclipse 3.1/phpEclipse 1.1.8 IDE
on WIN 2K3 Server. I installed the free NuVision debugger php_dbg.dll-5.2.x.

I set up the debugging environment to look for the interpreter: c:\program
files\php\php.exe.

When I run in debug mode, I get the errors that caused a failure in the
Consode tab, example:
PHP Warning: current(): Passed variable is not an array or object in
C:\Web\Tbwe\Tbwe\test\session_mgr_test_harness.php on line 57

I set breakpoints which seem to be ingnored. The process doesn't stop at the
breakpoint ,and I get no other debugging information such as variable
values, etc. (probably because breakpoint isn't being honored I guess).

Am I missing configuration issues? Are my installed versions incompatible?

Without the additional debugging information, I will have to change back to
a Java or .NET stack, which I do not want to do for this project.

How do I get more robust debugging? Any help is greatly appreciated.

Thanks.


.



Relevant Pages

  • Re: Page_Load & ButtonClick?
    ... You many not have debugging enabled for the site you are working with. ... the application runs and then stops at my breakpoint. ... browser & without clicking the Button, I came back to the VWD IDE & ... will the Page_Load sub execute first & then will the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Debug COM assembly (VB 2003)
    ... Set breakpoints in the VB.NET assembly's source files and start debugging. ... This happens with and without a breakpoint. ... When trying to attach to the process with debug type "Common language ... optionally register it in the GAC, ...
    (microsoft.public.vsnet.debugging)
  • Re: How to turn off Managed Debugging Assistant in VB.NET (2005)
    ... "Menu Bar:" radio and then select Debug from the drop down. ... "Exceptions" in the right list box and click OK. ... My debugging menu has, ... When stopped at a breakpoint in code: ...
    (microsoft.public.dotnet.languages.vb)
  • Debugging ASP and VS2005
    ... I can break and debug in the ASP code (that I initiated ... When I set the breakpoint in the VS2005 class library and set the code ... On the breakpoint in the managed code I get the message "Break point ... (I would have though debugging the script would have been more ...
    (microsoft.public.vsnet.debugging)
  • Re: debugging multithreaded app
    ... >> i was debugging a multithreaded app, when i stumbled across some weird ... > on encountering the breakpoint? ... If so, why use the hokey busy loop? ... between the functionality in the threads, and the cleanup code. ...
    (microsoft.public.dotnet.languages.vc)