NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Problems w/ xdebg

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
Ethan Rosenberg, PhD
Posted via mailing list.





PostPosted: Thu Oct 18, 2012 12:19 am    Post subject: Problems w/ xdebg Reply with quote

Dear List -

This is my first post, and I hope I am asking the correct list....

I am trying to install the PHP debug module for Netbeans, which requires the installatioln of xdebug. I can't make it work. The tarball has been extracted to /home/ethan/xdebug-2.2.1. If I run make, the message returned is "Build complete." Now what??

Thanks in advance.

Ethan
--
Back to top
Ethan Rosenberg, PhD
Posted via mailing list.





PostPosted: Thu Oct 18, 2012 2:58 am    Post subject: Problems w/ xdebg Reply with quote

On 10/17/2012 09:36 PM, Brenden Towey wrote:
Quote:
On 10/17/2012 5:18 PM, Ethan Rosenberg, PhD wrote:

Quote:
Dear List -

This is my first post, and I hope I am asking the correct list....

I am trying to install the PHP debug module for Netbeans, which requires the installatioln of xdebug. I can't make it work. The tarball has been extracted to /home/ethan/xdebug-2.2.1. If I run make, the message returned is "Build complete." Now what??


I don't think NetBeans has required a separate xdebug installation for a while. Just try debugging some PHP now, without xdebug, see if that works.

If I'm wrong I'm sure someone here will correct me momentarily.


Brendon -

Thanks.

I tried. The only option is a JAVA debugger. "Attach Debugger" I selectred PORT 80 and received a message "Handshake failed. Connection prematurely closed ".

Help and advice, please
Back to top
Ethan Rosenberg, PhD
Posted via mailing list.





PostPosted: Thu Oct 18, 2012 4:26 pm    Post subject: Problems w/ xdebg Reply with quote

On 10/17/2012 09:36 PM, Brenden Towey wrote:
Quote:
On 10/17/2012 5:18 PM, Ethan Rosenberg, PhD wrote:

Quote:
Dear List -

This is my first post, and I hope I am asking the correct list....

I am trying to install the PHP debug module for Netbeans, which requires the installatioln of xdebug. I can't make it work. The tarball has been extracted to /home/ethan/xdebug-2.2.1. If I run make, the message returned is "Build complete." Now what??


I don't think NetBeans has required a separate xdebug installation for a while. Just try debugging some PHP now, without xdebug, see if that works.

If I'm wrong I'm sure someone here will correct me momentarily.


Brendon -

Thanks.

I tried. The only option is a JAVA debugger. "Attach Debugger" I selected PORT 80 and received a message "Handshake failed. Connection prematurely closed ".

Help and advice, please

============
List - Any ideas??
Back to top
markiewb



Joined: 29 Aug 2012
Posts: 271

PostPosted: Thu Oct 18, 2012 5:00 pm    Post subject: Problems w/ xdebg Reply with quote

Did you read http://wiki.netbeans.org/HowToConfigureXDebug and the tutorial
http://netbeans.org/kb/docs/php/debugging.html? Does it help?

By the way: I think port 80 is NOT the correct debugport.

Greetings markiewb

Am 18.10.2012 18:25, schrieb Ethan Rosenberg, PhD:
Quote:
On 10/17/2012 09:36 PM, Brenden Towey wrote:
Quote:
On 10/17/2012 5:18 PM, Ethan Rosenberg, PhD wrote:
Quote:
Dear List -

This is my first post, and I hope I am asking the correct list....

I am trying to install the PHP debug module for Netbeans, which requires the
installatioln of xdebug. I can't make it work. The tarball has been
extracted to /home/ethan/xdebug-2.2.1. If I run make, the message returned
is "Build complete." Now what??


I don't think NetBeans has required a separate xdebug installation for a
while. Just try debugging some PHP now, without xdebug, see if that works.

If I'm wrong I'm sure someone here will correct me momentarily.


Brendon -

Thanks.

I tried. The only option is a JAVA debugger. "Attach Debugger" I selected
PORT 80 and received a message "Handshake failed. Connection prematurely
closed ".

Help and advice, please

============
List - Any ideas??
Back to top
Brenden Towey
Posted via mailing list.





PostPosted: Thu Oct 18, 2012 6:46 pm    Post subject: Problems w/ xdebg Reply with quote

On 10/18/2012 10:00 AM, Benno Markiewicz wrote:
Quote:
Did you read http://wiki.netbeans.org/HowToConfigureXDebug and the
tutorial http://netbeans.org/kb/docs/php/debugging.html? Does it help?

By the way: I think port 80 is NOT the correct debugport.




It's been a while since I've fooled with PHP, so it seems I was
incorrect, a separate install of XDebug is still required. That
tutorial is basically what I used when I did it though.

The default port for the debugger is NOT 80. Port 80 is HTTP,
obviously. The port for XDebug is 9000. Use that, don't change the
default until you get it working. Too many moving parts otherwise. Once
you get it working, you can fool around with other configuration, like
changing the default port number.
Back to top
Ethan Rosenberg, PhD
Posted via mailing list.





PostPosted: Fri Oct 19, 2012 4:01 pm    Post subject: Problems w/ xdebg Reply with quote

On 10/18/2012 01:00 PM, Benno Markiewicz wrote:
Quote:
Did you read http://wiki.netbeans.org/HowToConfigureXDebug and the tutorial http://netbeans.org/kb/docs/php/debugging.html? Does it help?

By the way: I think port 80 is NOT the correct debugport.

Greetings markiewb

Am 18.10.2012 18:25, schrieb Ethan Rosenberg, PhD:
Quote:
On 10/17/2012 09:36 PM, Brenden Towey wrote:
Quote:
On 10/17/2012 5:18 PM, Ethan Rosenberg, PhD wrote:
Quote:
Dear List -

This is my first post, and I hope I am asking the correct list....

I am trying to install the PHP debug module for Netbeans, which requires the installatioln of xdebug. I can't make it work. The tarball has been extracted to /home/ethan/xdebug-2.2.1. If I run make, the message returned is "Build complete." Now what??


I don't think NetBeans has required a separate xdebug installation for a while. Just try debugging some PHP now, without xdebug, see if that works.

If I'm wrong I'm sure someone here will correct me momentarily.


Brendon -

Thanks.

I tried. The only option is a JAVA debugger. "Attach Debugger" I selected PORT 80 and received a message "Handshake failed. Connection prematurely closed ".

Help and advice, please

============
List - Any ideas??

Brendon -

1] http://netbeans.org/kb/docs/php/debugging.html only refers to Eclipse.

2] I configured xdebug as follows:

zend_extension="/usr/lib/php5/20100525+lfs/xdebug.so"
xdebug.remote_mode=req
xdebug.remote_enable=on
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"

Still no luck.

Advice and help, please.

Ethan
Back to top
Ethan Rosenberg, PhD
Posted via mailing list.





PostPosted: Tue Oct 23, 2012 6:15 pm    Post subject: Problems w/ xdebg Reply with quote

On 10/17/2012 09:36 PM, Brenden Towey wrote:
Quote:
On 10/17/2012 5:18 PM, Ethan Rosenberg, PhD wrote:

Quote:
Dear List -

This is my first post, and I hope I am asking the correct list....

I am trying to install the PHP debug module for Netbeans, which requires the installatioln of xdebug. I can't make it work. The tarball has been extracted to /home/ethan/xdebug-2.2.1. If I run make, the message returned is "Build complete." Now what??


I don't think NetBeans has required a separate xdebug installation for a while. Just try debugging some PHP now, without xdebug, see if that works.

If I'm wrong I'm sure someone here will correct me momentarily.


Brenden -

Thanks.

I tried. The only option is a JAVA debugger. "Attach Debugger" I selected PORT 80 and received a message "Handshake failed. Connection prematurely closed ".

Help and advice, please

============
List - Any ideas??

============

Dear List -

I have followed the instructions in http://www.xdebug.org/docs/install and http://www.xdebug.org/find-binary.php. I am getting nowhere.

Is it possible that someone could walk me thru the installation?

I do not have a decent debugger... Aptana can't launch Firefox and I can't get NeatBeans to work!!! I have always had a debugger {C, FORTRAN} that would step thru the code, wait at an input request for data, and then continue. This does not seem to be the characteristic of PHP debuggers.

Advice and help, please.

Thanks.

Ethan
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo