|
From: <php...@li...> - 2009-10-28 15:52:47
|
The debugger is now complete. The source code is available from: http://php-java-bridge.sf.net/pdb I will test the code during the next weeks before I submit it to the eclipse project and add it to the php java bridge. Regards, Jost Boekemeier On 24 Oct 2009 12:19, "Jost Bekemeier" <jos...@go...> wrote: Hi, PHP/Java Bridge 5.6 will contain a new PHP source level debugger. It is a pure PHP implementation centered around Linus MacCabe's idea to use the official PHP token API to add breakpoints to a PHP script at run-time. You can add debug capabilities to a PHP script simply by include("pdb.php") or via http://.../pdb.php?script=... The JavaBridge.war will contain two new config settings: debugger-host and debugger-port. If a client listens on this port during bridge startup, the client can be used for remote debugging. It will use the Zend Debugger protocol, as published on eclipse.org. It will be compatible with the Zend Debugger and is used by Eclipse as well as other products (aptana studio uses the same protocol). My plan is to implement the following 11 Responses first so that we can test the debugger in a PHP eclipse environment. 1 MSG_START, recv 1001 MSG_START_R, send 12 MSG_STEP_OVER, recv 1012 MSG_STEP_OVER_R, send 14 MSG_GO, recv 1014 MSG_GO_R, send 21 MSG_ADD_BREAKPOINT, recv 1021 MSG_ADD_BREAKPOINT_R, send 32 MSG_GET_VAR, recv 1032 MSG_GET_VAR_R, send 34 MSG_GET_CALL_STACK, recv 1034 MSG_GET_CALL_STACK_R, send 10000 MSG_SET_PROTOCOL, recv 11000 MSG_SET_PROTOCOL_R, send 36 GetCWDRequest, recv 1036 GetCWDResponse, send 2003 MSG_READY, send 2005 MSG_SESS_START, send 2009 StartProcessFileNotification, send 2010 ContinueProcessFileNotification, recv 10001 FileContentRequest, send 10002 FileContentExtendedRequest, send 11001 FileContentResponse, recv I will set up a new web site at http://php-java-bridge/pdb The binaries can be downloaded from there. -- I think I can make a first release next month. Regards, Jost Boekemeier > > On 29 Aug 2009 19:17, "Jost Bekemeier" <jos...@go...> wrote: > > Hi, > > I thi... |