Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 201 lines (168 sloc) 5.682 kb
78749ee4 »
2002-04-24 This commit was generated by cvs2svn to compensate for changes in r2,
1 /*
2 +----------------------------------------------------------------------+
b66d5be5 »
2003-06-23 - Licence update. This change only renames "PHP Licence" to "Xdebug L…
3 | Xdebug |
78749ee4 »
2002-04-24 This commit was generated by cvs2svn to compensate for changes in r2,
4 +----------------------------------------------------------------------+
b66d5be5 »
2003-06-23 - Licence update. This change only renames "PHP Licence" to "Xdebug L…
5 | Copyright (c) 2002, 2003 Derick Rethans |
78749ee4 »
2002-04-24 This commit was generated by cvs2svn to compensate for changes in r2,
6 +----------------------------------------------------------------------+
b66d5be5 »
2003-06-23 - Licence update. This change only renames "PHP Licence" to "Xdebug L…
7 | This source file is subject to version 1.0 of the Xdebug license, |
78749ee4 »
2002-04-24 This commit was generated by cvs2svn to compensate for changes in r2,
8 | that is bundled with this package in the file LICENSE, and is |
9 | available at through the world-wide-web at |
b66d5be5 »
2003-06-23 - Licence update. This change only renames "PHP Licence" to "Xdebug L…
10 | http://xdebug.derickrethans.nl/license.php |
11 | If you did not receive a copy of the Xdebug license and are unable |
12 | to obtain it through the world-wide-web, please send a note to |
13 | xdebug@derickrethans.nl so we can mail you a copy immediately. |
78749ee4 »
2002-04-24 This commit was generated by cvs2svn to compensate for changes in r2,
14 +----------------------------------------------------------------------+
637bd81b »
2003-09-18 - Email update
15 | Authors: Derick Rethans <derick@xdebug.org> |
78749ee4 »
2002-04-24 This commit was generated by cvs2svn to compensate for changes in r2,
16 +----------------------------------------------------------------------+
17 */
18
19 #ifndef PHP_XDEBUG_H
20 #define PHP_XDEBUG_H
21
5c055b89 »
2003-10-29 - Added the XML writer to config.m4
22 #define XDEBUG_NAME "Xdebug"
c62ab2ea »
2005-10-05 - Next version.
23 #define XDEBUG_VERSION "2.0.0beta5-dev"
5c055b89 »
2003-10-29 - Added the XML writer to config.m4
24 #define XDEBUG_AUTHOR "Derick Rethans"
c38d6871 »
2004-12-23 - Update version no
25 #define XDEBUG_COPYRIGHT "Copyright (c) 2002-2005 by Derick Rethans"
5c055b89 »
2003-10-29 - Added the XML writer to config.m4
26 #define XDEBUG_URL "http://xdebug.org"
87f58a54 »
2002-10-20 - Added "bt" command to get backtraces
27
78749ee4 »
2002-04-24 This commit was generated by cvs2svn to compensate for changes in r2,
28 #include "php.h"
6005ed2f »
2002-05-02 - Make it compile under ZTS mode
29
930bdaa1 »
2002-09-04 - Implemented remote debugger handler abstraction
30 #include "xdebug_handlers.h"
29837391 »
2002-11-03 - Implemented the list, print, show, step and pwd commands.
31 #include "xdebug_hash.h"
b5be71c2 »
2002-05-09 - srm_llist > xdebug_llist
32 #include "xdebug_llist.h"
78749ee4 »
2002-04-24 This commit was generated by cvs2svn to compensate for changes in r2,
33
34 extern zend_module_entry xdebug_module_entry;
35 #define phpext_xdebug_ptr &xdebug_module_entry
36
4103a9b3 » iliaal
2002-12-19 - Added another profiling mode, which can be accessed via
37 #define MICRO_IN_SEC 1000000.00
38
78749ee4 »
2002-04-24 This commit was generated by cvs2svn to compensate for changes in r2,
39 #ifdef PHP_WIN32
40 #define PHP_XDEBUG_API __declspec(dllexport)
41 #else
42 #define PHP_XDEBUG_API
43 #endif
44
45 #ifdef ZTS
46 #include "TSRM.h"
47 #endif
48
49 PHP_MINIT_FUNCTION(xdebug);
50 PHP_MSHUTDOWN_FUNCTION(xdebug);
51 PHP_RINIT_FUNCTION(xdebug);
52 PHP_RSHUTDOWN_FUNCTION(xdebug);
53 PHP_MINFO_FUNCTION(xdebug);
341a8ae8 »
2003-08-25 - Fixed crash bug when a function had sprintf style parameters (ie.
54 #ifdef ZEND_ENGINE_2
415d1eea »
2004-03-16 - Added the xdebug_get_tracefile_name() function to retrieve the name
55 ZEND_MODULE_POST_ZEND_DEACTIVATE_D(xdebug);
341a8ae8 »
2003-08-25 - Fixed crash bug when a function had sprintf style parameters (ie.
56 #endif
78749ee4 »
2002-04-24 This commit was generated by cvs2svn to compensate for changes in r2,
57
cb87cbce »
2003-06-28 - Fixed time indices in xdebug_get_function_trace
58 /* call stack functions */
d2c75730 »
2004-08-09 - Added xdebug_get_stack_depth() to return the current stack depth le…
59 PHP_FUNCTION(xdebug_get_stack_depth);
78749ee4 »
2002-04-24 This commit was generated by cvs2svn to compensate for changes in r2,
60 PHP_FUNCTION(xdebug_get_function_stack);
9e09b485 »
2005-12-30 - Implemented FR #153: xdebug_get_declared_vars().
61 PHP_FUNCTION(xdebug_get_declared_vars);
e47e77bf »
2003-04-21 - Added xdebug_call_class() as addition to xdebug_call_function().
62 PHP_FUNCTION(xdebug_call_class);
6c74074b »
2002-04-25 - Implement userland functions
63 PHP_FUNCTION(xdebug_call_function);
64 PHP_FUNCTION(xdebug_call_file);
65 PHP_FUNCTION(xdebug_call_line);
cde9bba9 »
2002-05-03 - Add ini_setting and functions to enable and disable showing stacktr…
66
ffd968a5 »
2003-04-27 - Add fancy var dumping (this overrides the default var_dump() in PHP)
67 PHP_FUNCTION(xdebug_var_dump);
ee3797ca »
2004-10-26 - Added a function "xdebug_debug_zval" to debug zvals by printing its…
68 PHP_FUNCTION(xdebug_debug_zval);
cf0a06ae »
2005-06-14 - Added xdebug_debug_zval_stdout().
69 PHP_FUNCTION(xdebug_debug_zval_stdout);
ffd968a5 »
2003-04-27 - Add fancy var dumping (this overrides the default var_dump() in PHP)
70
cb87cbce »
2003-06-28 - Fixed time indices in xdebug_get_function_trace
71 /* activation functions */
cde9bba9 »
2002-05-03 - Add ini_setting and functions to enable and disable showing stacktr…
72 PHP_FUNCTION(xdebug_enable);
73 PHP_FUNCTION(xdebug_disable);
74 PHP_FUNCTION(xdebug_is_enabled);
75
01c4f12d »
2003-12-28 - Added FR #5: xdebug_break() function which interupts the script for…
76 /* breaking functions */
77 PHP_FUNCTION(xdebug_break);
78
cb87cbce »
2003-06-28 - Fixed time indices in xdebug_get_function_trace
79 /* tracing functions */
b5be71c2 »
2002-05-09 - srm_llist > xdebug_llist
80 PHP_FUNCTION(xdebug_start_trace);
81 PHP_FUNCTION(xdebug_stop_trace);
415d1eea »
2004-03-16 - Added the xdebug_get_tracefile_name() function to retrieve the name
82 PHP_FUNCTION(xdebug_get_tracefile_name);
cb87cbce »
2003-06-28 - Fixed time indices in xdebug_get_function_trace
83
be44b252 » Jani Taskinen
2005-07-21 - Added xdebug_get_profile_filename() function which returns the curr…
84 /* profiling functions */
613a7c16 » Jani Taskinen
2005-07-21 profile -> profiler (consistent)
85 PHP_FUNCTION(xdebug_get_profiler_filename);
be44b252 » Jani Taskinen
2005-07-21 - Added xdebug_get_profile_filename() function which returns the curr…
86
cb87cbce »
2003-06-28 - Fixed time indices in xdebug_get_function_trace
87 /* misc functions */
d63d7ee6 »
2003-02-20 - Added dumping of superglobals (patch by Harald Radi <phanto@php.net>).
88 PHP_FUNCTION(xdebug_dump_superglobals);
068edbc5 »
2003-01-07 - Implemented the 'eval' command with which you can set and get varia…
89 PHP_FUNCTION(xdebug_set_error_handler);
58d605c1 »
2002-05-02 - Disable xdebug_memory_usage() when memory_limit was not compiled in.
90 #if MEMORY_LIMIT
1dd5909f »
2002-05-02 - Implemented xdebug_memory_usage() which returns the memory in use b…
91 PHP_FUNCTION(xdebug_memory_usage);
b1efad63 »
2004-01-12 - Removed profiler code, and lay foundation for new code.
92 PHP_FUNCTION(xdebug_peak_memory_usage);
58d605c1 »
2002-05-02 - Disable xdebug_memory_usage() when memory_limit was not compiled in.
93 #endif
f192a9b9 »
2003-06-28 - Added the xdebug_time_index() function.
94 PHP_FUNCTION(xdebug_time_index);
78749ee4 »
2002-04-24 This commit was generated by cvs2svn to compensate for changes in r2,
95
96 ZEND_BEGIN_MODULE_GLOBALS(xdebug)
5c055b89 »
2003-10-29 - Added the XML writer to config.m4
97 int status;
98 int reason;
99
996d335d »
2004-10-06 - Fixed bug #93: Crash in lookup_hostname on x86_64
100 long level;
b5be71c2 »
2002-05-09 - srm_llist > xdebug_llist
101 xdebug_llist *stack;
996d335d »
2004-10-06 - Fixed bug #93: Crash in lookup_hostname on x86_64
102 long max_nesting_level;
b5be71c2 »
2002-05-09 - srm_llist > xdebug_llist
103 zend_bool default_enable;
8e173183 »
2004-01-13 - Added a new setting xdebug.show_mem_delta to show differences between
104 zend_bool collect_includes;
f2394ea4 »
2002-10-28 - Added xdebug.collect_params setting. If this setting is on (the def…
105 zend_bool collect_params;
1b40076c »
2004-04-11 - Implemented showing returng values in traces. The xdebug.collect_re…
106 zend_bool collect_return;
b1efad63 »
2004-01-12 - Removed profiler code, and lay foundation for new code.
107 zend_bool extended_info;
108 zend_bool show_local_vars;
8e173183 »
2004-01-13 - Added a new setting xdebug.show_mem_delta to show differences between
109 zend_bool show_mem_delta;
e2b429e6 »
2002-06-06 - Add support for classnames, variable include files and variable fun…
110 char *manual_url;
068edbc5 »
2003-01-07 - Implemented the 'eval' command with which you can set and get varia…
111 char *error_handler;
455963f4 »
2003-06-28 - Let the time index start from the beginning of the *script* and not…
112 double start_time;
9bc776f3 »
2003-07-03 - Implemented "bt full" which shows a full stack trace including local
113 HashTable *active_symbol_table;
8e173183 »
2004-01-13 - Added a new setting xdebug.show_mem_delta to show differences between
114 unsigned int prev_memory;
930bdaa1 »
2002-09-04 - Implemented remote debugger handler abstraction
115
b1efad63 »
2004-01-12 - Removed profiler code, and lay foundation for new code.
116 FILE *trace_file;
117 zend_bool do_trace;
118 zend_bool auto_trace;
e404565d »
2004-03-11 - Changed trace file naming: xdebug.trace_output_dir is now used to c…
119 char *trace_output_dir;
120 char *trace_output_name;
bd994d02 »
2004-05-01 - Added a new php.ini setting "xdebug.trace_options" to configure extra
121 long trace_options;
3272c984 »
2004-06-11 - Added a computerized trace format for easier parsing by external pr…
122 long trace_format;
415d1eea »
2004-03-16 - Added the xdebug_get_tracefile_name() function to retrieve the name
123 char *tracefile_name;
b1efad63 »
2004-01-12 - Removed profiler code, and lay foundation for new code.
124
72bcfe13 »
2003-04-05 - Added code coverage, enable with xdebug_start_code_coverage(), disa…
125 /* used for code coverage */
126 zend_bool do_code_coverage;
127 xdebug_hash *code_coverage;
df2814b8 »
2004-10-03 - Fixed the exit handler hook to use the new "5.1" way of handling it…
128 zend_bool code_coverage_unused;
46c34394 »
2004-02-18 - Implemented function_counter
129 unsigned int function_count;
72bcfe13 »
2003-04-05 - Added code coverage, enable with xdebug_start_code_coverage(), disa…
130
d63d7ee6 »
2003-02-20 - Added dumping of superglobals (patch by Harald Radi <phanto@php.net>).
131 /* superglobals */
d5df3e39 »
2003-12-03 - Fixed some layout issues.
132 zend_bool dump_globals;
d63d7ee6 »
2003-02-20 - Added dumping of superglobals (patch by Harald Radi <phanto@php.net>).
133 zend_bool dump_once;
134 zend_bool dump_undefined;
135 zend_bool dumped;
136 xdebug_llist server;
137 xdebug_llist get;
138 xdebug_llist post;
139 xdebug_llist cookie;
140 xdebug_llist files;
141 xdebug_llist env;
142 xdebug_llist request;
143 xdebug_llist session;
144
930bdaa1 »
2002-09-04 - Implemented remote debugger handler abstraction
145 /* remote settings */
146 zend_bool remote_enable; /* 0 */
996d335d »
2004-10-06 - Fixed bug #93: Crash in lookup_hostname on x86_64
147 long remote_port; /* 9000 */
930bdaa1 »
2002-09-04 - Implemented remote debugger handler abstraction
148 char *remote_host; /* localhost */
204edff6 »
2004-10-12 - Fixed bug #93: Crash on x86_64
149 long remote_mode; /* XDEBUG_NONE, XDEBUG_JIT, XDEBUG_REQ */
ab64e66a »
2003-10-07 - Add dbgp handler files, which do currently nothing yet
150 char *remote_handler; /* php3, gdb, dbgp */
36301bc9 »
2004-09-15 - Added request #88: Make the url parameter XDEBUG_SESSION_START opti…
151 zend_bool remote_autostart; /* Disables the requirement for XDEBUG_SESSION_START */
930bdaa1 »
2002-09-04 - Implemented remote debugger handler abstraction
152
f041de39 » mixedpuppy
2004-06-06 - Fix returning text nodes that contain html tags and such
153 char *ide_key; /* from environment, USER, USERNAME or empty */
154
930bdaa1 »
2002-09-04 - Implemented remote debugger handler abstraction
155 /* remote debugging globals */
cb87cbce »
2003-06-28 - Fixed time indices in xdebug_get_function_trace
156 zend_bool remote_enabled;
e2e05d39 »
2003-09-07 - Fixed problems with using 'eval' and breakpoints at the same time. The
157 zend_bool breakpoints_allowed;
85284aa2 »
2005-03-06 - Fixed bug #109: DBGP's eval will abort the script when the eval sta…
158 zend_bool ignore_fatal_error;
cb87cbce »
2003-06-28 - Fixed time indices in xdebug_get_function_trace
159 xdebug_con context;
5c055b89 »
2003-10-29 - Added the XML writer to config.m4
160 unsigned int breakpoint_count;
46c34394 »
2004-02-18 - Implemented function_counter
161
76c894e7 »
2004-03-04 - Re-implemented profiling support. Xdebug outputs information the sa…
162 /* profiler settings */
163 zend_bool profiler_enable;
164 char *profiler_output_dir;
be39b3e7 »
2004-03-05 - Added internal xdebug_crc32() function. (Copy from PHP sources).
165 char *profiler_output_name; /* "pid" or "crc32" */
0d77c164 »
2005-01-08 - Fixed bug #108: log_only still displays some text for errors in inc…
166 zend_bool profiler_enable_trigger;
4e08cb38 »
2005-09-22 - Added FR #148: Option to append to cachegrind files, instead of ove…
167 zend_bool profiler_append;
76c894e7 »
2004-03-04 - Re-implemented profiling support. Xdebug outputs information the sa…
168
169 /* profiler globals */
170 zend_bool profiler_enabled;
171 FILE *profile_file;
be44b252 » Jani Taskinen
2005-07-21 - Added xdebug_get_profile_filename() function which returns the curr…
172 char *profile_filename;
76c894e7 »
2004-03-04 - Re-implemented profiling support. Xdebug outputs information the sa…
173
46c34394 »
2004-02-18 - Implemented function_counter
174 /* DBGp globals */
175 char *lastcmd;
176 char *lasttransid;
ccbaa3d5 » mixedpuppy
2004-04-20 - magic_cookie is not necessary for remote debugging
177
178 /* output redirection */
179 php_output_globals stdio;
180 int stdout_redirected;
181 int stderr_redirected;
182 int stdin_redirected;
183
78749ee4 »
2002-04-24 This commit was generated by cvs2svn to compensate for changes in r2,
184 ZEND_END_MODULE_GLOBALS(xdebug)
185
186 #ifdef ZTS
187 #define XG(v) TSRMG(xdebug_globals_id, zend_xdebug_globals *, v)
188 #else
189 #define XG(v) (xdebug_globals.v)
190 #endif
930bdaa1 »
2002-09-04 - Implemented remote debugger handler abstraction
191
78749ee4 »
2002-04-24 This commit was generated by cvs2svn to compensate for changes in r2,
192 #endif
193
194
195 /*
196 * Local variables:
197 * tab-width: 4
198 * c-basic-offset: 4
199 * indent-tabs-mode: t
200 * End:
201 */
Something went wrong with that request. Please try again.