Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 14, 2011
  1. Merge branch 'xdebug_2_1'

Commits on Sep 11, 2011
  1. Merge branch 'xdebug_2_1'

  2. Added a version check for the branch, so that it just tells you it's …

    …not compatible with PHP 5.4.
Commits on Jul 5, 2011
  1. @taavi
Commits on Jan 10, 2010
  1. - Refactor to make the xdebug.c file a lot smaller. Stack related fun…

      is now in xdebug_stack.c and function tracing functionality in
    SVN Rev: 3210
Commits on Dec 28, 2009
  1. - Get rid of old debugger engines (PHP3 and GDB).

    SVN Rev: 3165
Commits on Jul 31, 2008
  1. - Fixed Makefile.frag addition

    Jani Taskinen authored
    - Use (future) zend_ext flag in PHP_NEW_EXTENSION()
      which allows 'make test' for Zend extensions too.
    SVN Rev: 2801
Commits on Mar 4, 2008
  1. - Revert Marcus' patch

    SVN Rev: 2691
Commits on Feb 17, 2008
  1. - Enable to be tested as built-in using 'make test'

    Marcus Börger authored
    SVN Rev: 2679
Commits on Dec 19, 2006
  1. - Link in libm for the systems that need it (AIX).

    SVN Rev: 2210
Commits on Oct 25, 2006
Commits on Sep 25, 2006
  1. - Implemented dead code analysis that should give much better code co…

    SVN Rev: 2041
Commits on Dec 31, 2005
Commits on Apr 11, 2004
  1. - Implemented showing returng values in traces. The xdebug.collect_re…

      php.ini settings needs to be activated for this.
    - Modified two test cases to test for the new feature
    - Added xdebug_compat.c to the extension files.
    SVN Rev: 1289
Commits on Mar 4, 2004
  1. - Re-implemented profiling support. Xdebug outputs information the sa…

    …me way that
      cachegrind does so it is possible to use Kcachegrind as front-end.
    - Added ini settings for the profiler output directory
      (xdebug.profiler_output_dir) and to enable the profiler
      (xdebug.profiler_enable). These only work from httpd.conf, php.ini and
    - Moved xdebug_get_utime to usefulstuff.c
    - Removed constants for the old profiler.
    - The show_fname() function now wants an xdebug_func, and no longer a
      function_stack_entry *.
    SVN Rev: 1126
Commits on Jan 12, 2004
  1. - Removed profiler code, and lay foundation for new code.

    - Rewrote the tracing code, you can now only trace to file; this greatly
      enhances performance as no string representation of variables need to
      be kept in memory any more.
    - Removed xdebug_get/dump_function_trace() because of the new idea of tracing.
    - Added the xdebug.auto_trace_file setting to configure a trace file to write
      to as addition to the xdebug.auto_trace setting which just turns on tracing.
    - Removed the four profiling functions, something new will be written for them.
    - Added a xdebug.extended_info configuration setting to turn off the generation
      of extended opcodes that are needed for stepping and breakpoints for the
      remote debugger. This is useful incase you want to profile memory usage as
      the generation of this extended info increases memory usage of oparrrays by
      about 33%.
    - Changed test for max_nesting_level; it now tests if the current level is
      equal to the maximum level. This prevents infinite calls to the error handler
      in case a user defined error handler or user defined session handler is used.
    - Fixed a crash bug that was caused by a buffer overrun in a statically sized
      buffer for logging to the error file.
    - Added the xdebug.show_local_vars setting with which you can turn off the
      showing of local variables in the top most stack frame on errors.
    - Added the xdebug_peak_memory_usage() function which returns the peak memory
      used in a script. (Only work when --enable-memory-limit was enabled)
    SVN Rev: 1061
Commits on Dec 18, 2003
  1. - DBGp: remove breakpoint_disable/breakpoint_enable and add breakpoin…

    - DBGp: added various attributes to various responses to bring it more uptodate
      to the updated protocol specifications.
    SVN Rev: 987
Commits on Oct 29, 2003
  1. - Added the XML writer to config.m4

    - Added constants for version, author etc.
    - Added constants for statuses, reasons and error codes
    - We go back to "gdb" as default for now, so that other people can test other
      Xdebug 2 features too.
    - Replaced old GDB-style function handlers with the new DBGp one.
    - Added breakpoint list managing functions.
    - Added new command parsing function.
    - Rewrote the remote debugging callbacks for DBGp.
    - Added zval to xdebug_xml_node convertor.
    - Made xdebug_xml.c compile and work again.
    SVN Rev: 903
Commits on Oct 12, 2003
  1. - Move the allocation defines into xdebug_mm.h

    - Lower case the XDEBUG_STR_* functions
    SVN Rev: 877
Commits on Oct 7, 2003
  1. - Add dbgp handler files, which do currently nothing yet

    - Implemented debug session cookies
    - Added allowed_clients ini setting (unimplemented yet)
    - Added a description field to debug handlers struct, and show those in
    - Fixed PHP 4.3 problems for php_setcookie and MODULE_EXEC_FINISHED
    SVN Rev: 865
Commits on Apr 5, 2003
  1. - Added code coverage, enable with xdebug_start_code_coverage(), disa…

    …ble with
      xdebug_stop_code_coverage() and get the information with
      xdebug_get_code_coverage(). The latter returns an array with each element
      being an array containing the lines and the number of times a statement was
      run on that line, per executed file.
    SVN Rev: 614
Commits on Feb 27, 2003
  1. - Make it compile on Linux again

    SVN Rev: 602
Commits on Jan 31, 2003
  1. - Add our useful stuff too :)

    SVN Rev: 585
Commits on Jan 29, 2003
Commits on Dec 19, 2002
  1. @iliaal

    - Added another profiling mode, which can be accessed via

    iliaal authored
    - Moved the profiling code into it's own file.
    - Fixed some bugs inside the profiling code (more fixes are pending).
    SVN Rev: 518
Commits on Nov 3, 2002
Commits on Sep 6, 2002
  1. - Change socket to contexts

    - Added basic GDB emulation files
    SVN Rev: 236
Commits on Sep 4, 2002
  1. - Implemented remote debugger handler abstraction

    - Added a php3 compatible debugger handler
    - Abstracted error type to string function
    - Merged memory allocation problems from the 1.0 branch
    - Merged API version check from the 1.0 branch
    - Rename execute_data_ptr to current_execute_data for ZE2 compability
    SVN Rev: 228
Commits on Aug 31, 2002
Commits on May 25, 2002
  1. - Implemented MUCH better parameter tracing for user defined functions

      (and render parameter tracing to internal functions unusable).
    - Moved variable dumping code to xdebug_var.c
    - Unified unknown entries for class/function names
    SVN Rev: 120
Commits on May 19, 2002
  1. - First attempt at class stuff

    SVN Rev: 114
Commits on May 14, 2002
Commits on May 9, 2002
  1. - srm_llist > xdebug_llist

    - prework for function call traces
    SVN Rev: 47
Commits on Apr 24, 2002
  1. This commit was generated by cvs2svn to compensate for changes in r2,

    which included commits to RCS files with non-trunk default branches.
    SVN Rev: 3
Something went wrong with that request. Please try again.