Debugging with Xdebug

Derick Rethans (03.Oct.2009)
Talk at CodeWorks 2009 (Washington) (English - US)

Rating: 0 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 with some 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 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 compabinations; 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. 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.
No comments yet.
© 2015