Permalink
Browse files

- Changed default debug engine port from 17689 to 9000 per DBGp specs.

SVN Rev: 1044
  • Loading branch information...
derickr committed Dec 28, 2003
1 parent b60074a commit d837fe99fcaf2e34f34acd5088615f2b6376854b
Showing with 14 additions and 12 deletions.
  1. +8 −6 NEWS
  2. +1 −1 debugclient/README
  3. +2 −2 debugclient/main.c
  4. +1 −1 php_xdebug.h
  5. +2 −2 xdebug.c
14 NEWS
@@ -1,12 +1,14 @@
???, Mar ??, 2004 - xdebug 2.0.0
= Client: Added setting for port to listen on and implemented running the
previous command when pressing just enter.
+ DBGp: Added new protocol for communicating with the debug engine.
+ Added FR #30: Dump current scope information in stack traces on error.
+ Added ini setting "xdebug.dump_global" with which you can turn off dumping
of super globals even in you have that configured. This is most useful for
tests.
(Derick)
+ Added ini setting "xdebug.dump_global" with which you can turn off dumping of
super globals even in you have that configured. This is most useful for
tests. (Derick)
= Changed default debugger port from 17869 to 9000. (Derick)
= Fixed bug #36: GDB handler using print causes segfault with wrong syntax
+ Client: Added setting for port to listen on and implemented running the
previous command when pressing just enter. (Derick)
+ DBGp: Added new protocol for communicating with the debug engine. (Derick)


Fri, Dec 26, 2003 - xdebug 1.3.0
@@ -10,5 +10,5 @@ The debugclient accepts three command line options:
-v shows the version number of the debug client.
-p portno sets the TCP port number on which the debug client should listen
for connections from the Xdebug server. The default port number is
17869.
9000.

@@ -50,7 +50,7 @@
#endif

#define DEBUGCLIENT_VERSION "0.8.0"
#define DEFAULT_PORT 17869
#define DEFAULT_PORT 9000

#ifdef HAVE_LIBEDIT

@@ -164,7 +164,7 @@ int main(int argc, char *argv[])
printf("\nUsage:\n");
printf("\tdebugclient [-h] [-p port] [-v]\n");
printf("\t-h\tShow this help\n");
printf("\t-p\tSpecify the port to listen on (default = 17869)\n");
printf("\t-p\tSpecify the port to listen on (default = 9000)\n");
printf("\t-v\tShow version number and exit\n");
exit(0);
break;
@@ -131,7 +131,7 @@ ZEND_BEGIN_MODULE_GLOBALS(xdebug)

/* remote settings */
zend_bool remote_enable; /* 0 */
int remote_port; /* 17869 */
int remote_port; /* 9000 */
char *remote_host; /* localhost */
int remote_mode; /* XDEBUG_NONE, XDEBUG_JIT, XDEBUG_REQ */
char *remote_handler; /* php3, gdb, dbgp */
@@ -242,9 +242,9 @@ PHP_INI_BEGIN()
STD_PHP_INI_ENTRY("xdebug.remote_host", "localhost", PHP_INI_ALL, OnUpdateString, remote_host, zend_xdebug_globals, xdebug_globals)
PHP_INI_ENTRY("xdebug.remote_mode", "req", PHP_INI_ALL, OnUpdateDebugMode)
#if ZEND_EXTENSION_API_NO < 90000000
STD_PHP_INI_ENTRY("xdebug.remote_port", "17869", PHP_INI_ALL, OnUpdateInt, remote_port, zend_xdebug_globals, xdebug_globals)
STD_PHP_INI_ENTRY("xdebug.remote_port", "9000", PHP_INI_ALL, OnUpdateInt, remote_port, zend_xdebug_globals, xdebug_globals)
#else
STD_PHP_INI_ENTRY("xdebug.remote_port", "17869", PHP_INI_ALL, OnUpdateLong, remote_port, zend_xdebug_globals, xdebug_globals)
STD_PHP_INI_ENTRY("xdebug.remote_port", "9000", PHP_INI_ALL, OnUpdateLong, remote_port, zend_xdebug_globals, xdebug_globals)
#endif
PHP_INI_ENTRY("xdebug.allowed_clients", "", PHP_INI_SYSTEM, OnUpdateAllowedClients)
PHP_INI_END()

0 comments on commit d837fe9

Please sign in to comment.