Netbeans debugger not working

6 messages Options
Embed this post
Permalink
Bharat-2-2

Netbeans debugger not working

Reply Threaded More More options
Print post
Permalink
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
Bharat-2-2

Re: Netbeans debugger not working

Reply Threaded More More options
Print post
Permalink
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
Filip Zamboj-2

Re: Netbeans debugger not working

Reply Threaded More More options
Print post
Permalink

Filip Zamboj

[hidden email]
+420 775 046916

Kmochova 605/8
150 00 Praha - Smichov

Bharat wrote:

> 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 :). 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,

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Bharat-2-2

Re: Netbeans debugger not working

Reply Threaded More More options
Print post
Permalink
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
Filip Zamboj

Re: Netbeans debugger not working

Reply Threaded More More options
Print post
Permalink
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:
> 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
>
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Jon Drukman

Re: Netbeans debugger not working

Reply Threaded More More options
Print post
Permalink
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?  (i honestly don't know squat about java.)

On Mon, Mar 9, 2009 at 5:50 PM, Filip Zamboj <[hidden email]> wrote:
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:
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

 

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]