Re: [PHP] phpeclipse debugging setup
I also fiddled with eclipse for a bit, but couldn't make it debug. I really like nusphere php-ed. Debugging works great - local or remote to your web server. Not free, but worth it. PJ wrote: Running FreeBSD 7.0, Eclipse SDK 3.3.2, java 1.6.0_03-p4, apache 2.2.8, php5.2.6, postgresql 8.3.1. I found that configuring Xdebug just does not work the way all the manuals, instructions and hints suggest: the only way I could get Xdebug to work (but does it?), that is, to show up under phpinfo() as both the zend module and xdebug module was to enter only zend_extension=xdebug.so in php.ini (with the other configuration parameters) but NOT adding it to the extensions.ini file. phpeclipse seems to be working - HOWEVER, it does not ignore php comments and commented out instructions and the PHP Browser does not seem to be working. Such errors as pg_exec, pg_errormessage() pg_free_result(), pg_num_rows() others: supplied argument is not a valid PostgreSQL link resource are not caught. Strangely, the Firefox plugin DBGbar catches these errors... ??? What are Bookmarks in phpEclipse? Are they meant to be breakpoints? Why does the PHPbrowser (internal) not work? Why does the preferences page not show PHP Web developing? Why is only MySQL included and not postgresql in the setup? Any suggestions, explanations, instructions, sources of information would be appreciated. PJ -- Selwyn Polit Computer Consulting, programming, web sites 512-696-0410 www.AustinProgressiveCalendar.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] phpeclipse debugging setup
Eric Butera wrote: On Fri, May 30, 2008 at 11:59 AM, PJ [EMAIL PROTECTED] wrote: Running FreeBSD 7.0, Eclipse SDK 3.3.2, java 1.6.0_03-p4, apache 2.2.8, php5.2.6, postgresql 8.3.1. I found that configuring Xdebug just does not work the way all the manuals, instructions and hints suggest: the only way I could get Xdebug to work (but does it?), that is, to show up under phpinfo() as both the zend module and xdebug module was to enter only zend_extension=xdebug.so in php.ini (with the other configuration parameters) but NOT adding it to the extensions.ini file. phpeclipse seems to be working - HOWEVER, it does not ignore php comments and commented out instructions and the PHP Browser does not seem to be working. Such errors as pg_exec, pg_errormessage() pg_free_result(), pg_num_rows() others: supplied argument is not a valid PostgreSQL link resource are not caught. Strangely, the Firefox plugin DBGbar catches these errors... ??? What are Bookmarks in phpEclipse? Are they meant to be breakpoints? Why does the PHPbrowser (internal) not work? Why does the preferences page not show PHP Web developing? Why is only MySQL included and not postgresql in the setup? Any suggestions, explanations, instructions, sources of information would be appreciated. PJ I used to use phpeclipse. I dumped it for PDT though. I never could get the debugging to work with phpeclipse. PDT for Eclipse debugging features work with xdebug the zend debugger. Give it a look. Thanks for the suggestion. I installed the PDT plusgin and still have issues with debugging: Using the PHP DBG script I get the Gtk-WARNING **: cannot open display: What do I have to do to install the PHP Browser? Try as I may, I do not understand what has to be done to correctly configure xdebug. According to some setup instructions I recall, phpinfo() should show 2 different sections for the xdebug and zend xdebug properties. When xdebug seems to be set up, I see a reference at the botom of the PHP information table that Xdebug v.2.1.0-dev is being used and there is an xdebug section on the displayed page. In Eclipse, under the Run/Open Debug Dialog options I see two entries - PHP DBG Script and X PHP XDebug Script. So, what is phpeclipse using? I still see nothing regarding PHP Web Developing in the Preferences window. :( How do I view the contents of variables? And when I run the debugger, I see that it interprets commented out code and ignores errors for functions like pg_exec() and pg_errormessage().. I would say that either there are some pretty weird requirements(unknown) to make php developing and debugging or I am not understanding something here - like, are there issues with different versions of the various modules, or what? This is really frustrating and sadly non-productive. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] phpeclipse debugging setup
Running FreeBSD 7.0, Eclipse SDK 3.3.2, java 1.6.0_03-p4, apache 2.2.8, php5.2.6, postgresql 8.3.1. I found that configuring Xdebug just does not work the way all the manuals, instructions and hints suggest: the only way I could get Xdebug to work (but does it?), that is, to show up under phpinfo() as both the zend module and xdebug module was to enter only zend_extension=xdebug.so in php.ini (with the other configuration parameters) but NOT adding it to the extensions.ini file. phpeclipse seems to be working - HOWEVER, it does not ignore php comments and commented out instructions and the PHP Browser does not seem to be working. Such errors as pg_exec, pg_errormessage() pg_free_result(), pg_num_rows() others: supplied argument is not a valid PostgreSQL link resource are not caught. Strangely, the Firefox plugin DBGbar catches these errors... ??? What are Bookmarks in phpEclipse? Are they meant to be breakpoints? Why does the PHPbrowser (internal) not work? Why does the preferences page not show PHP Web developing? Why is only MySQL included and not postgresql in the setup? Any suggestions, explanations, instructions, sources of information would be appreciated. PJ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] phpeclipse debugging setup
On Fri, May 30, 2008 at 11:59 AM, PJ [EMAIL PROTECTED] wrote: Running FreeBSD 7.0, Eclipse SDK 3.3.2, java 1.6.0_03-p4, apache 2.2.8, php5.2.6, postgresql 8.3.1. I found that configuring Xdebug just does not work the way all the manuals, instructions and hints suggest: the only way I could get Xdebug to work (but does it?), that is, to show up under phpinfo() as both the zend module and xdebug module was to enter only zend_extension=xdebug.so in php.ini (with the other configuration parameters) but NOT adding it to the extensions.ini file. phpeclipse seems to be working - HOWEVER, it does not ignore php comments and commented out instructions and the PHP Browser does not seem to be working. Such errors as pg_exec, pg_errormessage() pg_free_result(), pg_num_rows() others: supplied argument is not a valid PostgreSQL link resource are not caught. Strangely, the Firefox plugin DBGbar catches these errors... ??? What are Bookmarks in phpEclipse? Are they meant to be breakpoints? Why does the PHPbrowser (internal) not work? Why does the preferences page not show PHP Web developing? Why is only MySQL included and not postgresql in the setup? Any suggestions, explanations, instructions, sources of information would be appreciated. PJ I used to use phpeclipse. I dumped it for PDT though. I never could get the debugging to work with phpeclipse. PDT for Eclipse debugging features work with xdebug the zend debugger. Give it a look. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php