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
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
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
[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 vs TruStudio
Chris Lott wrote: Which of these are better Eclipse plugins for PHP Development? Or, which advantages do each provide? Can't speak about TruStudio - I never did get it to work, but that was a while ago. I'm running PHPEclipse on Eclipse3.1 and it is working fine form me. I've moved a lot of other non-PHP development work over to Eclipse as well so I only need the one IDE, and I can toggle between Windows and Linux development machines without having to remember which one I am on ;) There is still room for improvement, and I still drop into PhpEdit just for a quick 'raw' edit when I have a file that is not in an existing project, but I've linked up my own local CVS and run local and sourceforge hosted projects side by side. Just need to work out how to actually BUILD PHP through the Eclipse framework now :) -- Lester Caine - L.S.Caine Electronic Services Treasurer - Firebird Foundation Inc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHPEclipse vs TruStudio
sry, dumb answer :) dave wrote: > I use PhpEdit and i'm very pleased, tryed eclipse .. and i must say i'm > not a fan :). Php developement never tryed. > > Chris Lott wrote: > >>Which of these are better Eclipse plugins for PHP Development? Or, >>which advantages do each provide? >> >>c >>-- >>Chris Lott >> > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHPEclipse vs TruStudio
I use PhpEdit and i'm very pleased, tryed eclipse .. and i must say i'm not a fan :). Php developement never tryed. Chris Lott wrote: > Which of these are better Eclipse plugins for PHP Development? Or, > which advantages do each provide? > > c > -- > Chris Lott > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHPEclipse vs TruStudio
Which of these are better Eclipse plugins for PHP Development? Or, which advantages do each provide? c -- Chris Lott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] phpeclipse ide question
[snip] 1) where exactly and how do I set up an external browser to launch when I save a .PHP file. [/snip] Under PHPEclipse Web Development -> Browser Configuration this lists the browsers available Under PHPEclipse Web Development -> Browser Preview Defaults check "Refresh PHP browser..." this should autmatically open the selected browser [snip] 2) How can I get the internal browser working, do I need to set up some stuff. [/snip] Not sure, but I believe that you need a local web server running. [snip] 3) How do I turn off the auto launch when I save a .PHP file and if I do this how do I manually launch it in the internal/external browser. [/snip] See above for turning off. To manually launch it you would open the web browser and enter the address of the file. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] phpeclipse ide question
After the discussion about editors I have installed phpeclipse. It seems to work well and looks great. However I am having slight problem. Whenever I save a file it seems to try to launch a browser, anyway it comes up with a message saying something like 'unable to launch external browser. Please set up your external browser in browser preferences. It also launches an internal browser which is blank and if I type a URL in I get nothing. I have found a place to set up browsers and have both firefox and mozilla setup (I think) but am not sure wether I have set this up correctly (seems I have not). So my questions are. 1) where exactly and how do I set up an external browser to launch when I save a .PHP file. 2) How can I get the internal browser working, do I need to set up some stuff. 3) How do I turn off the auto launch when I save a .PHP file and if I do this how do I manually launch it in the internal/external browser. In fact launching the .PHP file from eclipse is of limited use as most of my pages require URL parameters. So another question is 4) Is there a way to set up testing URL (with ?/& parameters) for a .PHP file and is it possible to set up such a thing that calls a post to the file. I know having a browser open and switching between eclipse is a totally good work around but this would be great. Ben __ This email and any files transmitted with it are confidential. It is for the intended recipient only. If you have received the email in error please notify the author by replying to this email. If you are not the intended recipient, you must not disclose, distribute, copy, print, or rely on this email. Any views expressed by an individual within this email which do not constitute or record professional advice relating to the RNLI, do not necessarily reflect the views of the organisation. Registered Charity Number 209603 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHPEclipse?
I have downloaded the latest .zip from source forge but it keeps giving me "an error has occured when activating this view.." and hsow the php browser. eclipse 3.0, linux fedora core2, java 1.4.2_04-fcs -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHPEclipse?
Hi Dan I am the one building all the phpeclipse cvs releases. The latest zip file was corrupted (July 11, 2004), but the previous one works. Or, wait until tomorrow early morning when I will post a working CVS build for this week. I am using it and building it on Eclipse 3.0 in linux/gtk, but by all accounts it works just fine under win32 as well. The only thing that I personally can't get working is the debugger, but haven't spent much time on it as var_dump statements serve me just fine for now. Dave On Mon, 12 Jul 2004 14:39:36 -0400, Dan Joseph <[EMAIL PROTECTED]> wrote: > Hi, > > I was wondering, is anyone running Eclipse 3.0 w/PHPEclipse 1.1.0? > I'm having trouble getting it working. I downloaded the July .ZIP file and > unzipped it into the plugins directory. Its not recognizing it. Anyone > have this working? > > -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHPEclipse?
On Monday 12 July 2004 11:27 pm, Dan Joseph wrote: > How did you get it installed? Did you just extract the zip into the > plugins directory? Yes. -- *** with best regards *** Andrei Verovski (aka MacGuru) *** Mac, Linux, DTP, Programming Web Site *** *** http://snow.prohosting.com/guru4mac/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHPEclipse?
How did you get it installed? Did you just extract the zip into the plugins directory? -Dan Joseph > -Original Message- > From: Andrei Verovski (aka MacGuru) [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 4:36 PM > To: [EMAIL PROTECTED] > Cc: Dan Joseph > Subject: Re: [PHP] PHPEclipse? > > Hi, > > I am currently using Eclipse 3.0 with latest build of > PHPEclipse on Linux. > Just great. Did not tried debugger, however. > > > On Monday 12 July 2004 09:39 pm, Dan Joseph wrote: > > Hi, > > > > I was wondering, is anyone running Eclipse 3.0 > w/PHPEclipse 1.1.0? > > I'm having trouble getting it working. I downloaded the July .ZIP > > file and unzipped it into the plugins directory. Its not > recognizing > > it. Anyone have this working? > > > > -Dan Joseph > > -- > > > *** with best regards > *** Andrei Verovski (aka MacGuru) > *** Mac, Linux, DTP, Programming Web Site > *** > *** http://snow.prohosting.com/guru4mac/ > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHPEclipse?
Hi, I am currently using Eclipse 3.0 with latest build of PHPEclipse on Linux. Just great. Did not tried debugger, however. On Monday 12 July 2004 09:39 pm, Dan Joseph wrote: > Hi, > > I was wondering, is anyone running Eclipse 3.0 w/PHPEclipse 1.1.0? > I'm having trouble getting it working. I downloaded the July .ZIP file and > unzipped it into the plugins directory. Its not recognizing it. Anyone > have this working? > > -Dan Joseph -- *** with best regards *** Andrei Verovski (aka MacGuru) *** Mac, Linux, DTP, Programming Web Site *** *** http://snow.prohosting.com/guru4mac/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHPEclipse?
LOL.. I read all these "PHPEclipse is great!" reviews. It relaly does look good. Bummer you couldn't get it working either. I have EPIC installed, a Perl plug-in, its working fine, so I know plugins are working. Ahh well, maybe someone will read the list and have an answer. -Dan Joseph > -Original Message- > From: Ray Hunter [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 4:02 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHPEclipse? > > On Mon, 2004-07-12 at 12:39, Dan Joseph wrote: > > I was wondering, is anyone running Eclipse 3.0 > w/PHPEclipse 1.1.0? > > I'm having trouble getting it working. I downloaded the July .ZIP > > file and unzipped it into the plugins directory. Its not > recognizing > > it. Anyone have this working? > > I tried it, however, i had no success getting it to work. I > tried Trustudio php plugin and got the editor to work. The > editor was okay, yet the preferences did not work all that > great. The debugger did not work and i did not try and figure > out what was wrong with it. > > This is linux eclipse too. > > -- > Ray > > -- > PHP General Mailing List (http://www.php.net/) To > unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHPEclipse?
On Mon, 2004-07-12 at 12:39, Dan Joseph wrote: > I was wondering, is anyone running Eclipse 3.0 w/PHPEclipse 1.1.0? > I'm having trouble getting it working. I downloaded the July .ZIP file and > unzipped it into the plugins directory. Its not recognizing it. Anyone > have this working? I tried it, however, i had no success getting it to work. I tried Trustudio php plugin and got the editor to work. The editor was okay, yet the preferences did not work all that great. The debugger did not work and i did not try and figure out what was wrong with it. This is linux eclipse too. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHPEclipse?
Hi, I was wondering, is anyone running Eclipse 3.0 w/PHPEclipse 1.1.0? I'm having trouble getting it working. I downloaded the July .ZIP file and unzipped it into the plugins directory. Its not recognizing it. Anyone have this working? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php