To get the execution to break in a controller, you need to either: 1) set a break point in the particular controller action you're trying to debug,
or 2) make sure to step into $Dispatcher->dispatch($url) (line 82 for my version of Cake), then into return $this->_invoke (my line 246 in dispatcher.php), then call_user_func_array (my line 264 in dispatcher.php) should take you into your code. Mind you, I'm using XDebug in vim to do this, but I would be shocked if Eclipse's version didn't support this. On Jun 7, 4:53 pm, littlewoodEd <[EMAIL PROTECTED]> wrote: > I respectfully disagree. I also have XDebug working with eclipse and > PDT. I also can set a breakpoint in index.php. I am unable to figure > out how to get execution to break in a controller. I've come across > other threads in this group where folks are describing the same > problem, but no one has answered the question. > > Is anyone out there successfully single-stepping through controller > code? > thanks, > --ed > > On Jun 6, 9:45 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > > > On Fri, Jun 6, 2008 at 9:43 AM, Sake <[EMAIL PROTECTED]> wrote: > > > > ok, so do I run the debugger on the index.php file? How does it work? > > > You're going off-topic from Cake and into the Land of Debugging. > > Please use Google or your other favourite search engine to find info > > on how to useXDebugor any other debugging tools. > > > -- > > Chris Hartjes > > Internet Loudmouth > > Motto for 2008: "Moving from herding elephants to handling snakes..." > > @TheKeyBoard:http://www.littlehart.net/atthekeyboard > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---