Debugging with Xdebug

Derick Rethans (29.Sep.2009)
Talk at CodeWorks 2009 (Atlanta) (English - US)

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 deal withsome of the internals of the extension to explain how it gathers information from the PHP Engine. The second part of the session will cover detecting problems in yourscripts by showing how Xdebug provides debugging aides in the form of stack/function traces, dumps of variables, modified PHP functions. In the last partI will show the remote debugger capabilities of Xdebug, where you can: set breakpoints on functions, methods and file/line compabinations; watch execution detailssuch 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. No knowledge of C is required to follow this session,but some basic knowledge would be beneficial for the first part.

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

30.Sep.2009 at 13:56 by Benjamin Young

XDebug is something that should be part of every PHP developers core tool set. Derick's presentation showed of several aspects of XDebug that a casual user of it (like myself) would not have found without a good bit of research. Having Derick (the author of XDebug) show off some key functionality, has moved XDebug to the top of my "to use daily" list.

Rating: 4 of 5

30.Sep.2009 at 16:24 by Chuck Burgess

Good demos of xdebug's capabilities and usage, along with how kcachegrind adds value to what xdebug brings to the table.

Rating: 5 of 5

01.Oct.2009 at 15:25 by Errol Sayre

Very please with this talk. Derick was apt and willing to answer all my questions. Xdebug looks wonderful and I am hoping to try it out soon.

Cloud server hosting by Combell Combell      © Joind.in 2012