have you (or anyone else) figured this out?
On Jun 15, 2:26 am, kdubya <[email protected]> wrote:
> I have recently switched from a plain text development style to using
> NetBeans 6.5. I figured I might like some of the niceties of a real
> IDE (I have used them before) but my main motivation was to get
> debugging with breakpoints, watches etc.
>
> So, I have gotten Xdebug (verision 2.0.4) to work with a simple "Hello
> World" script outside of PHP. I can set breakpoints and inspect
> variables. Great!
>
> Only it doesn't work in a CakePHP project. Actually, if I leave the
> debug setting on to "Stop at first line", it does breakpoint there.
> Where it stops (it says) is in the index.php from the /app folder. So
> I do F8 (Step Over) and it does not stop at the next line of code. It
> skips 10 lines of code and stops there. Do it a few more times and it
> skips random chunks of code. It then gets about 5 lines from the
> bottom of the file and one F8 sends it running, not stopping at any of
> the subsequent breakpoints that I have set.
>
> As I'm stepping through the file, it actually looks like it is showing
> me the wrong file (there are several index.php files after all). I've
> tried to match up the line number to figure out where it really is but
> no luck.
>
> BTW, my development machine is running Window XP Pro SP2. My webserver
> is Apache 2.0.50 and PHP is 5.2.5, if that makes any difference.
>
> I have searched the newsgroup for answers to this. There are a couple
> of posts that are similar (like getting Xdebug to work under Eclipse
> PDT) but they gave me no help.
>
> Thanks in advance for any suggestions.
>
> Ken
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---