XDebug and Breakpoints [message #55701] |
Thu, 27 September 2007 15:15 |
Eclipse User |
|
|
|
Originally posted by: josefv.tridan.co.za
I am using the new PDT with XDebug as my debugger. When I set a breakpoint
in say whatever.php, the breakpoint halts and I can easily traverse across
the functions.
Lets say I resume the code, and via normal action the page whatever.php is
reloaded (within the same debug session), sometimes the breakpoint halts
execution again and I can traverse the code step by step. Which is good.
By sometimes, unexpectedly, I am presented with a white breakpoint arrow,
not blue, and the step into and step over buttons, as well as resume
buttons are disabled.
Sometimes the breakpoint halts output to the browser, my Eclipse taskbar
button starts flashing (which is for me a queue that XDebug has picked up
the breakpoint), but I can't even see neither a blue nor a white
breakpoint arrow. Buttons for traversing code is also disabled.
Am I doing something wrong?
|
|
|
Re: XDebug and Breakpoints [message #55783 is a reply to message #55701] |
Thu, 27 September 2007 19:42 |
D Kelsey Messages: 232 Registered: July 2009 |
Senior Member |
|
|
Hi Josef,
Would it be possible to give me a script that replicates the problem ? If not
a start would be to get an xdebug log of the problem.
if you could add the entry
xdebug.remote_log=(path to file)
(more info can be found at http://www.xdebug.org)
and recreate the problem and either post the log or raise a bugzilla report
and post it there ?
Cheers
Dave Kelsey
> I am using the new PDT with XDebug as my debugger. When I set a
> breakpoint in say whatever.php, the breakpoint halts and I can easily
> traverse across the functions.
>
> Lets say I resume the code, and via normal action the page whatever.php
> is reloaded (within the same debug session), sometimes the breakpoint
> halts execution again and I can traverse the code step by step. Which is
> good.
>
> By sometimes, unexpectedly, I am presented with a white breakpoint
> arrow, not blue, and the step into and step over buttons, as well as
> resume buttons are disabled.
>
> Sometimes the breakpoint halts output to the browser, my Eclipse taskbar
> button starts flashing (which is for me a queue that XDebug has picked
> up the breakpoint), but I can't even see neither a blue nor a white
> breakpoint arrow. Buttons for traversing code is also disabled.
>
> Am I doing something wrong?
>
|
|
|
Re: XDebug and Breakpoints [message #56221 is a reply to message #55783] |
Mon, 01 October 2007 12:39 |
Eclipse User |
|
|
|
Originally posted by: josef.tridan.co.za
I've managed to find the problem. There was a bug in my code, but I had no
clue as Eclipse isn't spitting any output debugging information into my
Console, Debug Output and even Browser Output.
Is there a setting I'm missing? I have set "display_errors = On" in my
php.ini file, but errors are going straight to Firefox instead.
Thanks for the reply. Is there an explanation for the difference between
the white and blue breakpoint arrows?
Why is it sometimes white?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03439 seconds