Download Summary

Transcript
The Eclipse Integrated Development Environment
Of course, it is up to you to customize the debug view to your liking. However,
the default layout is able to cram a lot of information onto the screen and should
be sufficient for most users.
To better illustrate the power of the debugger, I have added a couple of lines to the
Xml.php file. The function calls xdebug_call_file(), xdebug_call_line(),
xdebug_call_function() are only supported because I have compiled support for
Xdebug into my PHP executable. The following screenshot illustrates the debug
perspective. Notice how execution has stopped at our breakpoint (now on line 30).
The Debug Output tab shows the output generated by the Xdebug specific function
calls. The Variables tab shows a list of both global and local variables and their
respective values.
The key to Eclipse in general and PDT in particular is extensibility. It should
therefore come as no surprise that PDT functions as a framework as much as it
functions as a development environment.
[ 118 ]
Download from Wow! eBook
www.WoweBook.com