
| View previous topic :: View next topic |
| Author |
Message |
cothedo
Joined: 24 Jun 2009 Posts: 1
|
Posted: Wed Jun 24, 2009 5:19 am Post subject: Getting xdebug to work |
|
|
Hello,
There are several posts about xdebug, however I'm unable to solve the problem I'm having.
I'm trying to get xdebug to work. When the option is selected, it will step through a php document from the beginning, but it won't stop at any of the breakpoints. If the debug from the beginning is disabled, it won't stop in the document at all, no matter how many breakpoints I set.
I tried this piece of code: http://blogs.sun.com/netbeansphp/entry/howto_check_xdebug_installation, and when I try it in firefox, the page won't load. I have no clue where to look for the answer, and a desparate attempt to fix it (turning off the firewall), gave no results either.
I'm not sure what information you'll require. I have Windows XP Pro with wamp (wampserver 2.0) |
|
| Back to top |
|
 |
Filip Zamboj Posted via mailing list.
|
Posted: Wed Jun 24, 2009 9:07 am Post subject: Getting xdebug to work |
|
|
cothedo wrote:
| Quote: | Hello,
There are several posts about xdebug, however I'm unable to solve the problem I'm having.
I'm trying to get xdebug to work. When the option is selected, it will step through a php document from the beginning, but it won't stop at any of the breakpoints. If the debug from the beginning is disabled, it won't stop in the document at all, no matter how many breakpoints I set.
| did you try this? http://wiki.netbeans.org/HowToConfigureXDebug
was it correct folder? did you get some error code? was your apache
running?
| Quote: |
I'm not sure what information you'll require. I have Windows XP Pro with wamp (wampserver 2.0)
|
|
|
| Back to top |
|
 |
Alex Mace Posted via mailing list.
|
Posted: Wed Jun 24, 2009 9:11 am Post subject: Getting xdebug to work |
|
|
I don't know if this is just my experience, but it certainly used to
stop of breakpoints. Somewhere around RC3 (or even RC2, I don't debug
that regularly) no longer honours breakpoints...
On 24 Jun 2009, at 06:19, cothedo wrote:
| Quote: | Hello,
There are several posts about xdebug, however I'm unable to solve
the problem I'm having.
I'm trying to get xdebug to work. When the option is selected, it
will step through a php document from the beginning, but it won't
stop at any of the breakpoints. If the debug from the beginning is
disabled, it won't stop in the document at all, no matter how many
breakpoints I set.
I tried this piece of code: http://blogs.sun.com/netbeansphp/entry/howto_check_xdebug_installation
, and when I try it in firefox, the page won't load. I have no clue
where to look for the answer, and a desparate attempt to fix it
(turning off the firewall), gave no results either.
I'm not sure what information you'll require. I have Windows XP Pro
with wamp (wampserver 2.0)
|
|
|
| Back to top |
|
 |
radek matous Posted via mailing list.
|
Posted: Wed Jun 24, 2009 9:35 am Post subject: Getting xdebug to work |
|
|
Alex Mace wrote:
| Quote: | I don't know if this is just my experience, but it certainly used to
stop of breakpoints. Somewhere around RC3 (or even RC2, I don't debug
that regularly) no longer honours breakpoints...
|
the best would be to provide me with logging information, which must be enabled first
before debugging. See how to enable it: http://wiki.netbeans.org/HowToConfigureXDebug#section-HowToConfigureXDebug-EnableXdebugLogging
Report an issue and attach(or just send me directly) log file
Radek
| Quote: |
On 24 Jun 2009, at 06:19, cothedo wrote:
| Quote: | Hello,
There are several posts about xdebug, however I'm unable to solve the
problem I'm having.
I'm trying to get xdebug to work. When the option is selected, it
will step through a php document from the beginning, but it won't
stop at any of the breakpoints. If the debug from the beginning is
disabled, it won't stop in the document at all, no matter how many
breakpoints I set.
I tried this piece of code:
http://blogs.sun.com/netbeansphp/entry/howto_check_xdebug_installation,
and when I try it in firefox, the page won't load. I have no clue
where to look for the answer, and a desparate attempt to fix it
(turning off the firewall), gave no results either.
I'm not sure what information you'll require. I have Windows XP Pro
with wamp (wampserver 2.0)
|
|
|
|
| Back to top |
|
 |
Jeff Rubinoff Posted via mailing list.
|
Posted: Wed Jun 24, 2009 10:12 am Post subject: Getting xdebug to work |
|
|
I had a similar problem with XAMPP and RC3. I found that I needed to
comment out the line extension=php_xdebug[somethingsomething].dll. I had
originally needed to uncomment the line to keep the Apache server from
crashing, in XAMPP 1.7.0. Then I had to comment it out again after
upgrading to XAMPP 1.7.1 in order for NB to stop at breakpoints.
It might not have been a problem with XAMPP but a problem with whichever
Apache server they had bundled in 1.7.0. I thought though they put the
same one in 1.7.1.
Jeff
Alex Mace wrote:
| Quote: | I don't know if this is just my experience, but it certainly used to
stop of breakpoints. Somewhere around RC3 (or even RC2, I don't debug
that regularly) no longer honours breakpoints...
On 24 Jun 2009, at 06:19, cothedo wrote:
| Quote: | Hello,
There are several posts about xdebug, however I'm unable to solve
the problem I'm having.
I'm trying to get xdebug to work. When the option is selected, it
will step through a php document from the beginning, but it won't
stop at any of the breakpoints. If the debug from the beginning is
disabled, it won't stop in the document at all, no matter how many
breakpoints I set.
I tried this piece of code:
http://blogs.sun.com/netbeansphp/entry/howto_check_xdebug_installation
, and when I try it in firefox, the page won't load. I have no clue
where to look for the answer, and a desparate attempt to fix it
(turning off the firewall), gave no results either.
I'm not sure what information you'll require. I have Windows XP Pro
with wamp (wampserver 2.0)
|
|
|
|
| Back to top |
|
 |
Alex Mace Posted via mailing list.
|
Posted: Wed Jun 24, 2009 10:17 am Post subject: Getting xdebug to work |
|
|
Excuse my ignorance, but surely commenting out the xdebug extension
would disable debugging all together?
Alex
On 24 Jun 2009, at 11:11, Jeff Rubinoff wrote:
| Quote: | I had a similar problem with XAMPP and RC3. I found that I needed to
comment out the line extension=php_xdebug[somethingsomething].dll. I
had originally needed to uncomment the line to keep the Apache
server from crashing, in XAMPP 1.7.0. Then I had to comment it out
again after upgrading to XAMPP 1.7.1 in order for NB to stop at
breakpoints.
It might not have been a problem with XAMPP but a problem with
whichever Apache server they had bundled in 1.7.0. I thought though
they put the same one in 1.7.1.
Jeff
Alex Mace wrote:
| Quote: | I don't know if this is just my experience, but it certainly used
to stop of breakpoints. Somewhere around RC3 (or even RC2, I don't
debug that regularly) no longer honours breakpoints...
On 24 Jun 2009, at 06:19, cothedo wrote:
| Quote: | Hello,
There are several posts about xdebug, however I'm unable to solve
the problem I'm having.
I'm trying to get xdebug to work. When the option is selected, it
will step through a php document from the beginning, but it won't
stop at any of the breakpoints. If the debug from the beginning
is disabled, it won't stop in the document at all, no matter how
many breakpoints I set.
I tried this piece of code: http://blogs.sun.com/netbeansphp/entry/howto_check_xdebug_installation
, and when I try it in firefox, the page won't load. I have no
clue where to look for the answer, and a desparate attempt to fix
it (turning off the firewall), gave no results either.
I'm not sure what information you'll require. I have Windows XP
Pro with wamp (wampserver 2.0)
|
|
|
|
|
| Back to top |
|
 |
Jeff Rubinoff Posted via mailing list.
|
Posted: Wed Jun 24, 2009 10:39 am Post subject: Getting xdebug to work |
|
|
Alex,
One would think. But the extension=[xdebug dll file] line seems to
prevent NB from stopping at breakpoints. As long as the line
zend_extension_ts=[absolute path to xdebug dll] and other relevant lines
in the [xdebug] section of php.ini are uncommented and correct, and zend
optimizer stuff is commented out, the PHP engine has no problem finding
the xdebug extension. I have no idea what the line extension=[xdebug dll
file] is for, or why it only seems to be necessary for XAMPP 1.7.0 (and
even then I recall that NB didn't stop at breakpoints).
Jeff
Alex Mace wrote:
| Quote: | Excuse my ignorance, but surely commenting out the xdebug extension
would disable debugging all together?
Alex
On 24 Jun 2009, at 11:11, Jeff Rubinoff wrote:
| Quote: | I had a similar problem with XAMPP and RC3. I found that I needed to
comment out the line extension=php_xdebug[somethingsomething].dll. I
had originally needed to uncomment the line to keep the Apache
server from crashing, in XAMPP 1.7.0. Then I had to comment it out
again after upgrading to XAMPP 1.7.1 in order for NB to stop at
breakpoints.
It might not have been a problem with XAMPP but a problem with
whichever Apache server they had bundled in 1.7.0. I thought though
they put the same one in 1.7.1.
Jeff
Alex Mace wrote:
| Quote: | I don't know if this is just my experience, but it certainly used
to stop of breakpoints. Somewhere around RC3 (or even RC2, I don't
debug that regularly) no longer honours breakpoints...
On 24 Jun 2009, at 06:19, cothedo wrote:
| Quote: | Hello,
There are several posts about xdebug, however I'm unable to solve
the problem I'm having.
I'm trying to get xdebug to work. When the option is selected, it
will step through a php document from the beginning, but it won't
stop at any of the breakpoints. If the debug from the beginning
is disabled, it won't stop in the document at all, no matter how
many breakpoints I set.
I tried this piece of code:
http://blogs.sun.com/netbeansphp/entry/howto_check_xdebug_installation
, and when I try it in firefox, the page won't load. I have no
clue where to look for the answer, and a desparate attempt to fix
it (turning off the firewall), gave no results either.
I'm not sure what information you'll require. I have Windows XP
Pro with wamp (wampserver 2.0)
|
|
|
|
|
|
| Back to top |
|
 |
AGeorge
Joined: 25 Jun 2009 Posts: 7
|
Posted: Thu Jun 25, 2009 2:31 am Post subject: Problem solved |
|
|
This may help some:
If you have two web server clients in Windows installed, uninstall one of them.
Note also that xdebug does not operate on java pages, it only 'syncs' in when you browse to a page containing php. So if you sit on a html page without php you'll be waiting forever!
Al. |
|
| Back to top |
|
 |
|
|
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
|
|
|
|
|