Can you debug for php page?

12 messages Options
Embed this post
Permalink
powerrc

Can you debug for php page?

Reply Threaded More More options
Print post
Permalink
Hi all, I am using netbeans 6.7.1 under windows 2008 R2.

Everything is fine instead of the debug function.



I set everything ok(php,xdebug..) according to help files and wiki pages.



When I start to debug , the IE does show up and the netbeans says "netbeans-xdebug is running".



But, all the buttons related to the debug function are gray,the break point function doesen't work either. :(



It seems that the netbeans can't controll the local server. :(

Please help me,thx~





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

Filip Zamboj

Re: Can you debug for php page?

Reply Threaded More More options
Print post
Permalink
Hi,

could you submit an issue on this? You can do so on [1]. Attach messages
log and steps how to reproduce your problem. Don't forget to mension
what version of NB are you using. Thanks a lot!

-------------
Filip Zamboj
Sun Microsystems

[1] http://www.netbeans.org/community/issues.html
[2] http://qa.netbeans.org
[3] http://wiki.netbeans.org/HowToConfigureXDebug



powerrc wrote:

> Hi all, I am using netbeans 6.7.1 under windows 2008 R2.
>
> Everything is fine instead of the debug function.
>
>
>
> I set everything ok(php,xdebug..) according to help files and wiki pages.
>
>
>
> When I start to debug , the IE does show up and the netbeans says "netbeans-xdebug is running".
>
>
>
> But, all the buttons related to the debug function are gray,the break point function doesen't work either. :(
>
>
>
> It seems that the netbeans can't controll the local server. :(
>
> Please help me,thx~
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>  

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

powerrc

Can you debug for php page?

Reply Threaded More More options
Print post
Permalink
In reply to this post by powerrc
Sure,thank you.


Filip Zamboj wrote:
> Hi,

>

> could you submit an issue on this? You can do so on [1]. Attach messages

> log and steps how to reproduce your problem. Don't forget to mension

> what version of NB are you using. Thanks a lot!

>

> -------------

> Filip Zamboj

> Sun Microsystems

>

> [1] http://www.netbeans.org/community/issues.html

> [2] http://qa.netbeans.org

> [3] http://wiki.netbeans.org/HowToConfigureXDebug

>

>

>

> powerrc wrote:

>
> > Hi all, I am using netbeans 6.7.1 under windows 2008 R2.

> >

> > Everything is fine instead of the debug function.

> >

> >

> >

> > I set everything ok(php,xdebug..) according to help files and wiki pages.

> >

> >

> >

> > When I start to debug , the IE does show up and the netbeans says "netbeans-xdebug is running".

> >

> >

> >

> > But, all the buttons related to the debug function are gray,the break point function doesen't work either. :(

> >

> >

> >

> > It seems that the netbeans can't controll the local server. :(

> >

> > Please help me,thx~

> >

> >

> >

> >

> >

> >

> >

> >

> >

> >

> >
>






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

goja

Can you debug for php page?

Reply Threaded More More options
Print post
Permalink
In reply to this post by powerrc

powerrc wrote:
> Hi all, I am using netbeans 6.7.1 under windows 2008 R2.

> Everything is fine instead of the debug function.

>

> I set everything ok(php,xdebug..) according to help files and wiki pages.

>

> When I start to debug , the IE does show up and the netbeans says "netbeans-xdebug is running".

>

> But, all the buttons related to the debug function are gray,the break point function doesen't work either. :(

>

> It seems that the netbeans can't controll the local server. :(

> Please help me,thx~




Hi,



I've got the same problem. I've got apache 2.2.8, php 5.2.5, netbeans 6.7.1 and xDebug 2.0.5-5.2. If I start debugging with one ore more breakpoints set, they won't fire. Besides this everything seems to work fine. I can't find the problem.



Can you please provide a solution for debugging?



Thanks

John





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

Filip Zamboj

Re: Can you debug for php page?

Reply Threaded More More options
Print post
Permalink
Well, for 6.7.1 you can try something. I guess it has something to do
with feature on demand. It may be the reason why your buttons are not
enabled. Try Tools -> Plugins, remove php, restart IDE, Install PHP
through Tools->plugins, restart IDE, and try it. If doesn't work, try to
run with clean userdir (./netbeans --userdir <path to userdir>).

If nothing helps then download 6.8m2 from
http://bits.netbeans.org/netbeans/6.8/m2/. And if this doesn't help then
come back to the forum and we will try what the hell is going on because
this is weird :).

Thanks.
Regards,

-------------
Filip Zamboj
Sun Microsystems

[1] http://www.netbeans.org/community/issues.html
[2] http://qa.netbeans.org
[3] http://wiki.netbeans.org/HowToConfigureXDebug



goja wrote:

> powerrc wrote:
>  
>> Hi all, I am using netbeans 6.7.1 under windows 2008 R2.
>>    
>
>  
>> Everything is fine instead of the debug function.
>>    
>
>  
>
>  
>> I set everything ok(php,xdebug..) according to help files and wiki pages.
>>    
>
>  
>
>  
>> When I start to debug , the IE does show up and the netbeans says "netbeans-xdebug is running".
>>    
>
>  
>
>  
>> But, all the buttons related to the debug function are gray,the break point function doesen't work either. :(
>>    
>
>  
>
>  
>> It seems that the netbeans can't controll the local server. :(
>>    
>
>  
>> Please help me,thx~
>>    
>
>
>
>
> Hi,
>
>
>
> I've got the same problem. I've got apache 2.2.8, php 5.2.5, netbeans 6.7.1 and xDebug 2.0.5-5.2. If I start debugging with one ore more breakpoints set, they won't fire. Besides this everything seems to work fine. I can't find the problem.
>
>
>
> Can you please provide a solution for debugging?
>
>
>
> Thanks
>
> John
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>  

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

goja

Can you debug for php page?

Reply Threaded More More options
Print post
Permalink
In reply to this post by powerrc
Hi,



sry to disappoint you, but neither of the two metods worked. I've unsntalled and reinstalled php module on 6.7.1. That didn't help. Then I installed 6.8m2, and the debugging still not wiorking. It just won't stop on breakpoints.

I've red that I could try using xdebug_break(); command in code to stop the execution. It works so, but it is a lot of extra work to write this line to the positions, where I'd like to hold the exectuion, and then I must delete it as well.



Do you have any idea why this is not working by me? Is it ok by you? I'm using XP SP3, nothing special. I don't use xampp, I installed the components (apache, php, xdebug) separately. But this shouldn't make a difference.



Thx

John




Filip Zamboj wrote:
> Well, for 6.7.1 you can try something. I guess it has something to do

> with feature on demand. It may be the reason why your buttons are not

> enabled. Try Tools -> Plugins, remove php, restart IDE, Install PHP

> through Tools->plugins, restart IDE, and try it. If doesn't work, try to

> run with clean userdir (./netbeans --userdir <path to userdir>).

>

> If nothing helps then download 6.8m2 from

> http://bits.netbeans.org/netbeans/6.8/m2/. And if this doesn't help then

> come back to the forum and we will try what the hell is going on because

> this is weird :).

>

> Thanks.

> Regards,

>

> -------------

> Filip Zamboj

> Sun Microsystems

>

> [1] http://www.netbeans.org/community/issues.html

> [2] http://qa.netbeans.org

> [3] http://wiki.netbeans.org/HowToConfigureXDebug

>

>

>

> goja wrote:

>
> > powerrc wrote:

> >

> >
> > > Hi all, I am using netbeans 6.7.1 under windows 2008 R2.

> > >

> > >
> >

> >

> >
> > > Everything is fine instead of the debug function.

> > >

> > >
> >

> >

> >

> >

> >
> > > I set everything ok(php,xdebug..) according to help files and wiki pages.

> > >

> > >
> >

> >

> >

> >

> >
> > > When I start to debug , the IE does show up and the netbeans says "netbeans-xdebug is running".

> > >

> > >
> >

> >

> >

> >

> >
> > > But, all the buttons related to the debug function are gray,the break point function doesen't work either. :(

> > >

> > >
> >

> >

> >

> >

> >
> > > It seems that the netbeans can't controll the local server. :(

> > >

> > >
> >

> >

> >
> > > Please help me,thx~

> > >

> > >
> >

> >

> >

> >

> > Hi,

> >

> >

> >

> > I've got the same problem. I've got apache 2.2.8, php 5.2.5, netbeans 6.7.1 and xDebug 2.0.5-5.2. If I start debugging with one ore more breakpoints set, they won't fire. Besides this everything seems to work fine. I can't find the problem.

> >

> >

> >

> > Can you please provide a solution for debugging?

> >

> >

> >

> > Thanks

> >

> > John

> >

> >

> >

> >

> >

> >

> >

> >

> >

> >

> >
>






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

Filip Zamboj

Re: Can you debug for php page?

Reply Threaded More More options
Print post
Permalink
ok, let's go on with 6.8m2. can you send me your xdebug.ini file?

Thanks. F.

-------------
Filip Zamboj
Sun Microsystems

[1] http://www.netbeans.org/community/issues.html
[2] http://qa.netbeans.org
[3] http://wiki.netbeans.org/HowToConfigureXDebug



goja wrote:

> Hi,
>
>
>
> sry to disappoint you, but neither of the two metods worked. I've unsntalled and reinstalled php module on 6.7.1. That didn't help. Then I installed 6.8m2, and the debugging still not wiorking. It just won't stop on breakpoints.
>
> I've red that I could try using xdebug_break(); command in code to stop the execution. It works so, but it is a lot of extra work to write this line to the positions, where I'd like to hold the exectuion, and then I must delete it as well.
>
>
>
> Do you have any idea why this is not working by me? Is it ok by you? I'm using XP SP3, nothing special. I don't use xampp, I installed the components (apache, php, xdebug) separately. But this shouldn't make a difference.
>
>
>
> Thx
>
> John
>
>
>
>
> Filip Zamboj wrote:
>  
>> Well, for 6.7.1 you can try something. I guess it has something to do
>>    
>
>  
>> with feature on demand. It may be the reason why your buttons are not
>>    
>
>  
>> enabled. Try Tools -> Plugins, remove php, restart IDE, Install PHP
>>    
>
>  
>> through Tools->plugins, restart IDE, and try it. If doesn't work, try to
>>    
>
>  
>> run with clean userdir (./netbeans --userdir <path to userdir>).
>>    
>
>  
>
>  
>> If nothing helps then download 6.8m2 from
>>    
>
>  
>> http://bits.netbeans.org/netbeans/6.8/m2/. And if this doesn't help then
>>    
>
>  
>> come back to the forum and we will try what the hell is going on because
>>    
>
>  
>> this is weird :).
>>    
>
>  
>
>  
>> Thanks.
>>    
>
>  
>> Regards,
>>    
>
>  
>
>  
>> -------------
>>    
>
>  
>> Filip Zamboj
>>    
>
>  
>> Sun Microsystems
>>    
>
>  
>
>  
>> [1] http://www.netbeans.org/community/issues.html
>>    
>
>  
>> [2] http://qa.netbeans.org
>>    
>
>  
>> [3] http://wiki.netbeans.org/HowToConfigureXDebug
>>    
>
>  
>
>  
>
>  
>
>  
>> goja wrote:
>>    
>
>  
>>> powerrc wrote:
>>>      
>
>  
>
>  
>>>> Hi all, I am using netbeans 6.7.1 under windows 2008 R2.
>>>>        
>
>  
>
>  
>
>  
>
>  
>>>> Everything is fine instead of the debug function.
>>>>        
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>>>> I set everything ok(php,xdebug..) according to help files and wiki pages.
>>>>        
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>>>> When I start to debug , the IE does show up and the netbeans says "netbeans-xdebug is running".
>>>>        
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>>>> But, all the buttons related to the debug function are gray,the break point function doesen't work either. :(
>>>>        
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>>>> It seems that the netbeans can't controll the local server. :(
>>>>        
>
>  
>
>  
>
>  
>
>  
>>>> Please help me,thx~
>>>>        
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>>> Hi,
>>>      
>
>  
>
>  
>
>  
>
>  
>>> I've got the same problem. I've got apache 2.2.8, php 5.2.5, netbeans 6.7.1 and xDebug 2.0.5-5.2. If I start debugging with one ore more breakpoints set, they won't fire. Besides this everything seems to work fine. I can't find the problem.
>>>      
>
>  
>
>  
>
>  
>
>  
>>> Can you please provide a solution for debugging?
>>>      
>
>  
>
>  
>
>  
>
>  
>>> Thanks
>>>      
>
>  
>
>  
>>> John
>>>      
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>  

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

goja

Can you debug for php page?

Reply Threaded More More options
Print post
Permalink
In reply to this post by powerrc
Hi,



where can I find xdebug.ini? I just downloaded php_xdebug-2.0.5-5.2.dll (and placed it in thr ext directory of PHP) as I'm running PHP 5.2.5 and no other files from xdebug are present. Then I added these lines to php.ini:



extension=php_xdebug-2.0.5-5.2.dll

;zend_extension_ts=php_xdebug-2.0.5-5.2.dll

;zend_extension=php_xdebug-2.0.5-5.2.dll



xdebug.remote_enable=on

xdebug.remote_handler=dbgp

xdebug.remote_host=localhost

xdebug.remote_port=9015



I've tried the two commented lines to, but they didn't work. By default the 9000 port was already in use, so I turned it to 9015 in the php.ini and in the netbeans UI also in preferences.



John




Filip Zamboj wrote:
> ok, let's go on with 6.8m2. can you send me your xdebug.ini file?

>

> Thanks. F.

>

> -------------

> Filip Zamboj

> Sun Microsystems

>

> [1] http://www.netbeans.org/community/issues.html

> [2] http://qa.netbeans.org

> [3] http://wiki.netbeans.org/HowToConfigureXDebug

>

>

>





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

powerrc

Can you debug for php page?

Reply Threaded More More options
Print post
Permalink
In reply to this post by powerrc
Hi ,all



Finally, I solved my problem.



I just change the php5.2.9 to php5.2.11



And, oh my god, the debug function works now.



PS:The xdebug I used was download from http://www.xdebug.org , which is the newest .



So I think this is not a bug of netbeans ,just the xdebug can't work fine with some old php enviroument.





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

powerrc

Can you debug for php page?

Reply Threaded More More options
Print post
Permalink
In reply to this post by powerrc
Can you see the xdebug module in the phpinfo page?

Are you sure you enable the xdebug module?


goja wrote:
> Hi,

>

> where can I find xdebug.ini? I just downloaded php_xdebug-2.0.5-5.2.dll (and placed it in thr ext directory of PHP) as I'm running PHP 5.2.5 and no other files from xdebug are present. Then I added these lines to php.ini:

>

> extension=php_xdebug-2.0.5-5.2.dll

> ;zend_extension_ts=php_xdebug-2.0.5-5.2.dll

> ;zend_extension=php_xdebug-2.0.5-5.2.dll

>

> xdebug.remote_enable=on

> xdebug.remote_handler=dbgp

> xdebug.remote_host=localhost

> xdebug.remote_port=9015

>

> I've tried the two commented lines to, but they didn't work. By default the 9000 port was already in use, so I turned it to 9015 in the php.ini and in the netbeans UI also in preferences.

>

> John

>

>
> Filip Zamboj wrote:
> > ok, let's go on with 6.8m2. can you send me your xdebug.ini file?

> >

> > Thanks. F.

> >

> > -------------

> > Filip Zamboj

> > Sun Microsystems

> >

> > [1] http://www.netbeans.org/community/issues.html

> > [2] http://qa.netbeans.org

> > [3] http://wiki.netbeans.org/HowToConfigureXDebug

> >

> >

> >
>





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

powerrc

Can you debug for php page?

Reply Threaded More More options
Print post
Permalink
In reply to this post by powerrc
Would you please to have a try to change your php 5.2.5 to php 5.2.11?


goja wrote:
>
> powerrc wrote:
> > Hi all, I am using netbeans 6.7.1 under windows 2008 R2.

> > Everything is fine instead of the debug function.

> >

> > I set everything ok(php,xdebug..) according to help files and wiki pages.

> >

> > When I start to debug , the IE does show up and the netbeans says "netbeans-xdebug is running".

> >

> > But, all the buttons related to the debug function are gray,the break point function doesen't work either. :(

> >

> > It seems that the netbeans can't controll the local server. :(

> > Please help me,thx~
>

>

> Hi,

>

> I've got the same problem. I've got apache 2.2.8, php 5.2.5, netbeans 6.7.1 and xDebug 2.0.5-5.2. If I start debugging with one ore more breakpoints set, they won't fire. Besides this everything seems to work fine. I can't find the problem.

>

> Can you please provide a solution for debugging?

>

> Thanks

> John






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

monay-2

Can you debug for php page?

Reply Threaded More More options
Print post
Permalink
In reply to this post by powerrc
About the issue which you reported, I had tested by using 1310 pages file, this issue may be caused by the setting of WDS4.0. Because I use ifilttst.exe to call Foxit PDF IFilter (1.0.0.2411), Adobe IFilter 6.0, they both can extract the content of last few hundred pages of the pdf documents. star trek voyager seasons 1-7 dvd boxset (http://www.dvdcollectionsale.com/Star-Trek-Voyager-Seasons-1-7-DVD-Boxset-DVD-1296.html)

star trek voyager dvd (http://www.dvdcollectionsale.com/Star-Trek-Voyager-Seasons-1-7-DVD-Boxset-DVD-1296.html)





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