Making Your Life Easier: Xdebug

Derick Rethans (10.Oct.2009)
Talk at PHP North West 2009 (English - UK)

Rating: 5 of 5

This session teaches you how to detect and debug PHP scripts with the free open source tool Xdebug, which is an extension to PHP. The first part will quickly show how to get started with Xdebug. The second part of the session will cover detecting problems in your scripts by showing how Xdebug provides debugging aides in the form of stack/function traces, dumps of variables, modified PHP functions. In the last part I will show the remote debugger capabilities of Xdebug, where you can: set breakpoints on functions, methods and file/line combinations; watch execution details such as stack frames, per-frame information; run PHP code to modify the current state of your script and evaluating error messages. On top of this you will also see how you can use Xdebug’s profiler to find bottlenecks in your applications.

Who are you?

Claim talk

By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.

If the claim is approved you will be able to edit the information for this talk.

Are you sure?

 
Comments closed.

Comments

Rating: 4 of 5

10.Oct.2009 at 16:33 by Bastian Feder

I also use xDebug for a while now but I actually learned about the environment vaiable to enable cli debugging .. thx!

Rating: 4 of 5

10.Oct.2009 at 21:16 by Craig Kewley

Very good talk. I'd never heard of xdebug but I'll definitely give it a go!

Rating: 5 of 5

10.Oct.2009 at 22:32 by Matthew Kellett

Having not looked into Xdebug before this presentation was actually a real eye opener for me, I will definitely be trying this out even if it's just on my own development server at home.

Rating: 4 of 5

11.Oct.2009 at 18:18 by Rob Mills

great stuff, made my head hurt after a while tho..

Rating: 5 of 5

11.Oct.2009 at 18:59 by Russell Flynn

Exactly what it said on the tin - always a pleasure to listen to Derick's voice, the informed content and "active" delivery come as a bonus!

Rating: 5 of 5

12.Oct.2009 at 18:08 by Ryan Mauger

Very concise and informative.

Rating: 5 of 5

13.Oct.2009 at 19:01 by Alex Luneburg

A really good talk that introduced me to exactly what Xdebug can do which is great because it looks like a really helpful tool. Good demos and presentation.

Rating: 5 of 5

14.Oct.2009 at 13:28 by Peter Spain

An excellent talk that showcased some features that I didn't know were in XDebug. It wasn't too technical either so there was no brain-fatigue afterwards.

Derick is an excellent speaker and kept me interested throughout.

Rating: 5 of 5

17.Oct.2009 at 10:21 by Jakub Zalas

Derick mentioned KCacheGrind as a Linux application for viewing xdebug's profiling output. As KDE4 runs also on Windows it is possible to run KCacheGrind on this platform as well.

Cloud server hosting by Combell Combell      © Joind.in 2012