TAILIEUCHUNG - Publishing PHP eclipse - part 11

Thông tin về các Debugger Eclipse JDT bao gồm một trình gỡ rối đầy đủ tính năng cho các ứng dụng Java. Khi Eclipse debugs ứng dụng Java, nó sẽ khởi động các quan điểm Debug. Từ đó, bạn có thể xem chi tiết về cách chương trình của bạn đang thực hiện. Các quan điểm Debug cũng cho bạn công cụ để thao tác thực hiện chương trình của bạn và xem kết quả. | Testing and Debugging About the Debugger Eclipse s JDT includes a full-featured debugger for Java applications. When Eclipse debugs Java applications it launches the Debug perspective. From there you can see details on how your program is executing. The Debug perspective also gives you tools to manipulate your program s execution and see the results. PHPEclipse integrates Eclipse s Debug perspective with a PHP debugger called PHP Debugger DBG or commonly known as DBG. DBG is a product created by Dmitri Dmitrienko. There are two versions of DBG a commercial version and an open-source version which supports less features but is more than sufficient for basic debugging. DBG works as a PHP extension. It watches the PHP engine. If the engine attempts to execute a PHP script DBG intercepts this action and watches the traffic between the engine and client. It then returns this to a DBG client. This setup allows different clients to use DBG since DBG sits between and independent from the PHP engine and client callers. Dmitrienko has released a free UNIX command-line client. The majority of clients that exist are IDEs like PHPEclipse that wish to integrate PHP debugging into their product. Installing the Debugger Before we can even start to configure Eclipse we need to prepare our environment. We will need to install and configure DBG to listen to our PHP engine. First we need to install DBG. There are precompiled binaries for Windows Linux and FreeBSD. The source code is also available for you to download and compile yourself. We may need to do this to install DBG for Mac OS X or if we need to install for a version of PHP that is not officially supported by the binaries. The second part of this is to configure Eclipse to act as the DBG client. We will set global preferences and application-specific settings. Before we start we need a bit of a warning. Installing and configuring the PHPEclipse debugger is not an easy task. We are configuring PHP Apache DBG and PHPEclipse to

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.