Genadinik
Genadinik

Reputation: 18649

Step through page execution with XDebug with Eclipse?

I am trying to see what happens during the execution of a page. What should I do to monitor the variables after each step (function call or line execution) of the page running? How can I control when to take the next step in the execution of the page?

Thanks, Alex

Upvotes: 3

Views: 697

Answers (2)

Naruto77
Naruto77

Reputation: 33

In the Eclipse Menu: Window/Show View/Variables

Upvotes: 0

Demian Brecht
Demian Brecht

Reputation: 21378

I'm not familiar with debugging in Eclipse as I use Netbeans, but I'd assume that the process is rather similar. There's a good article here about how to set up Eclipse to use xdebug and an overall introduction to debugging your applications from Eclipse.

One thing to note (at least in the FreeBSD version that I'm running) - adding watches is apparently experimental and might require restarts here and there.

Upvotes: 3

Related Questions