Reputation: 258
I have a drupal module with a function which is called more than 1 time. With the »run to cursor« button, I can jump to the breakpoint once.
But after I'm stepping out from the breakpoint, which is inside a function, which will be called more then 1 time, I cannot return with the »run to cursor«-button, to check, what happens at the second call of my function.
Has anybody an idea? Thank's in front.
Upvotes: 3
Views: 1479
Reputation: 711
You can't. XDebug does not allow that. There a couple of commercial solutions. Although maybe if enough votes are put into that feature it'll get done...
Upvotes: 1
Reputation: 29462
If you have breakpoint inside your function can't you just Continue
(F5) debugging? Xdebug will stop on this breakpoint when the function is called.
Upvotes: 2