Debugging techniques with Xdebug

Derick Rethans (10.Jun.2010 at 14:30)
Workshop at Dutch PHP Conference 2010 (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 with different IDEs, where you can: set breakpoints on functions, methods and file/line combinations 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: 5 of 5

10.Jun.2010 at 14:52 by Jachim Coudenys

First time a saw the 'in-IDE-debugging' thing ran, and I'm quite impressed about the smooth integration with NetBeans.
And it's always nice to work with the latest release, hope we were good beta testers.

Rating: 4 of 5

10.Jun.2010 at 18:28 by Richard Hinkamp

Great tutorial, nice to be doing something instead of just listening and maybe asking some questions. My basic xdebug usage days will be over and I will be using lot's of stuff learned today! Too bad it took quite a long time before everybody got xdebug running, bu on the other hand real it was nice Derick helped everyone get it running!

Rating: 5 of 5

11.Jun.2010 at 08:00 by Tom Van Herreweghe

Excellent overview of various xdebug options. I really enjoyed the practical nature of this session. Derrick did a great job helping everyone out with their problems.

Rating: 5 of 5

11.Jun.2010 at 08:38 by Gerard van Helden

Very helpful and practical session! I am amazed with Derick's patience with his audience. XDebug is a great tool and I am very anxious to get it running in my day-to-day IDE.

Derick, next time, ask for thumbs up and thumbs down, in stead of "is this working for everyone?", might work better :)

Rating: 5 of 5

11.Jun.2010 at 10:07 by Nikolas Branis

I am gonna use xDebug on windows servers! Is that good or bad!? ;)

Rating: 5 of 5

13.Jun.2010 at 13:48 by Ben Waine

Congradulations on getting everyone up and running with xdebug. Great look at all the features (especially the performance measuring).

Rating: 3 of 5

14.Jun.2010 at 09:34 by Devis Lucato

The session was interesting, unfortunately we spent a bit too much configuring/building xdebug from sources, so there was not enough time to complete the talk. I would suggest a Live Cdrom or a VM image or a VNC session.

Cloud server hosting by Combell Combell      © Joind.in 2012