FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

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

Netbeans debugger not working

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
Bharat
Posted via mailing list.





PostPosted: Wed Mar 04, 2009 11:05 pm    Post subject: Netbeans debugger not working Reply with quote

Here are the particulars of my installation:

Operating system: Ubuntu 8.10

NetBeans 6.5 for Php

I am following the instructions given here:

http://www.netbeans.org/kb/docs/php/configure-php-environment-ubuntu.html

Here is the relevant snippet from the php.ini file:

zend_extension=/usr/lib/php5/20060613+lfs/xdebug.so
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000

Note that xdebug.so file is in the right directory as shown above.

When I start NetBeans in debug mode the program simply goes through and does
not stop at the breakpoint. I am a long time user of NetBeans Ruby so
finding my way around NetBeans is not a problem. However, I am new to
NetBeans Php.

Please help.

Thanks in advance for your time.

Bharat
--
View this message in context: http://n2.nabble.com/Netbeans-debugger-not-working-tp2426112p2426112.html
Sent from the NetBeans for PHP - Users mailing list archive at Nabble.com.
Back to top
Bharat
Posted via mailing list.





PostPosted: Thu Mar 05, 2009 12:24 am    Post subject: Netbeans debugger not working Reply with quote

Apologies. I should have gone through existing posts before posting my
query. I am all set now. Moral of the story:

1. Restart the web server after making any changes to php.ini (I forgot).
2. Use jdk 6 version 11 and not version 12 (the current version). You
won't be able to see the variables and values is you use jdk 6 version 12.

Bharat

--
View this message in context: http://n2.nabble.com/Netbeans-debugger-not-working-tp2426112p2426386.html
Sent from the NetBeans for PHP - Users mailing list archive at Nabble.com.
Back to top
Filip Zamboj
Posted via mailing list.





PostPosted: Thu Mar 05, 2009 12:44 pm    Post subject: Netbeans debugger not working Reply with quote

Filip Zamboj

address-removed
+420 775 046916

Kmochova 605/8
150 00 Praha - Smichov

Bharat wrote:
Quote:
Apologies. I should have gone through existing posts before posting my
query. I am all set now. Moral of the story:

1. Restart the web server after making any changes to php.ini (I forgot).
2. Use jdk 6 version 11 and not version 12 (the current version). You
won't be able to see the variables and values is you use jdk 6 version 12.

Bharat


Hi Bharat.

You can use jdk6u12 but latest one. You can see build number when you
type java -version into command line, e.g. something like this:

java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b02)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)

you need to have 1.6.0_12-b0x where x is greater than 3 Smile. Two reasons
for that. We fixed netbeans for jdk1.6.0_12b01 and another bug, jdk bug
this time, was fixed in b03. So if you go to java download page and read
release notes you should figure out build number.

Regards,
Back to top
Bharat
Posted via mailing list.





PostPosted: Fri Mar 06, 2009 12:13 am    Post subject: Netbeans debugger not working Reply with quote

Hello Filip
Thanks for the info. I had originally downloaded whatever JDK version Sun
has on the download page so looks like people are going to get hold of the
buggy version?
Anyway, no worries.
Bharat

--
View this message in context: http://n2.nabble.com/Netbeans-debugger-not-working-tp2426112p2433157.html
Sent from the NetBeans for PHP - Users mailing list archive at Nabble.com.
Back to top
edmondscommerce



Joined: 06 Mar 2009
Posts: 3

PostPosted: Fri Mar 06, 2009 12:19 pm    Post subject: not working for me - running latest version Reply with quote

Hi

I'm running the box_04 version and i am not getting values or types for any variables in the PHP debugger

even the $_SERVER super globals isn't showing anything...

any ideas...?

I was just starting to get to like netbeans after messing about and struggling with Eclipse.

FYI i am running Ubuntu Intrepid 64 bit.

thanks in advance..

back to Geany for now
Back to top
View user's profile Send private message
Tomas Mysik
Posted via mailing list.





PostPosted: Fri Mar 06, 2009 12:34 pm    Post subject: Netbeans debugger not working Reply with quote

Hi,
if you use JDK 6 update 12, just downgrade to update 11.

HTH,
Tomas


On pátek 06 března 2009 13:19:59 edmondscommerce wrote:
Quote:
Hi



I'm running the box_04 version and i am not getting values or types for any
variables in the PHP debugger



even the $_SERVER super globals isn't showing anything...



any ideas...?



I was just starting to get to like netbeans after messing about and
struggling with Eclipse.



FYI i am running Ubuntu Intrepid 64 bit.



thanks in advance..



back to Geany for now









--
Tomas Mysik
address-removed
Back to top
edmondscommerce



Joined: 06 Mar 2009
Posts: 3

PostPosted: Fri Mar 06, 2009 2:14 pm    Post subject: Thanks Reply with quote

OK thanks

where would I get that from?

I can only find a link to download the latest one.
Back to top
View user's profile Send private message
Tomas Mysik
Posted via mailing list.





PostPosted: Fri Mar 06, 2009 3:47 pm    Post subject: Netbeans debugger not working Reply with quote

http://java.sun.com/products/archive/


On pátek 06 března 2009 15:14:05 edmondscommerce wrote:
Quote:
OK thanks



where would I get that from?



I can only find a link to download the latest one.









--
Tomas Mysik
address-removed
Back to top
Filip Zamboj
Posted via mailing list.





PostPosted: Tue Mar 10, 2009 12:50 am    Post subject: Netbeans debugger not working Reply with quote

Hi, not it's not true. The most recent version on SUN download page is a
good one. It was a bug in NetBeans. So as Tomas Mysik pointed out, use
jdk6u11 to avoid troubles.

F.

Issuezilla HowTo: http://www.netbeans.org/community/issues.html
-------------
Filip Zamboj
Sun Microsystems



Bharat wrote:
Quote:
Hello Filip
Thanks for the info. I had originally downloaded whatever JDK version Sun
has on the download page so looks like people are going to get hold of the
buggy version?
Anyway, no worries.
Bharat


Back to top
Filip Zamboj
Posted via mailing list.





PostPosted: Tue Mar 10, 2009 12:55 am    Post subject: Netbeans debugger not working Reply with quote

Hi.

Below is a copy of post I wrote to Nbusers forum. This is explaining
(hopefully) naming conventions and where to download.
------------ Start of original post on Nbusers
well, I realized some confusion about weird b04 letters Smile of jdk builds .
Here is what I found out:
So, if you download newest jdk right now, install it and enter java
-version then you should get something like this:

java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode)

you see -b04 - that's the the build identifier that is required for any
non-GA (non-FCS) release.

What does this mean for you?
If you download a build from
http://java.sun.com/javase/downloads/index.jsp you see that they don't
use these identifiers and it's getting more confusing. But, fortunately
if you click to Docs -> Release Notes -> Current Version you will be
brought to http://java.sun.com/javase/6/webnotes/6u12.html and here you
finally see what build are you downloading.

Why all these trouble?
Well, with jdku12 there were more troubles. Firstly, we found out that
there is a bug in NB (as you already noticed). Then guys from jdk
released new jdk build and we encountered following issue:
http://www.netbeans.org/issues/show_bug.cgi?id=158798 that is maybe (i
say maybe!) because of using jdk6u12ea, we think is this problem because
of this issue http://bugs.sun.com/view_bug.do?bug_id=6786210.

So the conclusion is:
1. for using netbeans for new jdk6 use new builds of NB
2. for using netbeans without freezing IDE, use jdk6u12-b04 at least Smile .

Check this out for further reference.
http://java.sun.com/j2se/versioning_naming.html

Hope this helps Smile .
In case of any troubles don't hesitate to contact me or correct if I got
mistaken somewhere.
--------------- END of original message on NBusers

regards,

Issuezilla HowTo: http://www.netbeans.org/community/issues.html
-------------
Filip Zamboj
Sun Microsystems



edmondscommerce wrote:
Quote:
OK thanks



where would I get that from?



I can only find a link to download the latest one.










Back to top
Jon Drukman
Posted via mailing list.





PostPosted: Tue Mar 10, 2009 4:24 pm    Post subject: Netbeans debugger not working Reply with quote

maybe a dumb question but can't netbeans detect what version of jdk it's running under and complain if it is the wrong version/missing required features?
Back to top
edmondscommerce



Joined: 06 Mar 2009
Posts: 3

PostPosted: Tue Mar 17, 2009 3:02 pm    Post subject: Reply with quote

ok im just going to do without debugging for now..

any idea when this will be sorted so I can just upgrade to the latest version?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP 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