| 1 |
lars |
1 |
Thu, Jul 28, 2011 - xdebug 2.1.2
|
|
|
2 |
|
|
|
3 |
= Fixed bugs:
|
|
|
4 |
|
|
|
5 |
- Fixed bug #622: Working with eval() code is inconvenient and difficult.
|
|
|
6 |
- Fixed bug #684: xdebug_var_dump - IE does not support &.
|
|
|
7 |
- Fixed bug #693: Cachegrind files not written when filename is very long.
|
|
|
8 |
- Fixed bug #697: Incorrect code coverage of function arguments when using
|
|
|
9 |
XDEBUG_CC_UNUSED.
|
|
|
10 |
- Fixed bug #699: Xdebug gets the filename wrong for the countable
|
|
|
11 |
interface.
|
|
|
12 |
- Fixed bug #703 by adding another opcode to the list that needs to be
|
|
|
13 |
overridden.
|
|
|
14 |
|
|
|
15 |
Mon, Mar 28, 2011 - xdebug 2.1.1
|
|
|
16 |
|
|
|
17 |
= Fixed bugs:
|
|
|
18 |
|
|
|
19 |
- Fixed ZTS compilation.
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
Tue, Mar 22, 2011 - xdebug 2.1.1rc1
|
|
|
23 |
|
|
|
24 |
= Fixed bugs:
|
|
|
25 |
|
|
|
26 |
= Debugger
|
|
|
27 |
- Fixed bug #518: Removed CLASSNAME pseudo-property optional.
|
|
|
28 |
- Fixed bug #592: Xdebug crashes with run after detach.
|
|
|
29 |
- Fixed bug #596: Call breakpoint never works with instance methods, only
|
|
|
30 |
static methods.
|
|
|
31 |
- Fixed JIT mode in the debugger so that it works for xdebug_break() too.
|
|
|
32 |
|
|
|
33 |
= Profiler
|
|
|
34 |
- Fixed bug #631: Summary not written when script ended with "exit()".
|
|
|
35 |
- Fixed bug #639: Xdebug profiling: output not correct - missing 'cfl='.
|
|
|
36 |
- Fixed bug #642: Fixed line numbers for offsetGet, offsetSet,
|
|
|
37 |
__get/__set/__isset/__unset and __call in profile files and stack
|
|
|
38 |
traces/function traces.
|
|
|
39 |
- Fixed bug #643: Profiler gets line numbers wrong.
|
|
|
40 |
- Fixed bug #653: XDebug profiler crashes with %H in file name and non
|
|
|
41 |
standard port.
|
|
|
42 |
|
|
|
43 |
= Others
|
|
|
44 |
- Fixed bug #651: Incorrect code coverage after empty() in conditional.
|
|
|
45 |
- Fixed bug #654: Xdebug hides error message in CLI.
|
|
|
46 |
- Fixed bug #665: Xdebug does not respect display_errors=stderr.
|
|
|
47 |
Patch by Ben Spencer <dangerous.ben@gmail.com>
|
|
|
48 |
- Fixed bug #670: Xdebug crashes with broken "break x" code.
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
Tue, Jun 29, 2010 - xdebug 2.1.0
|
|
|
52 |
|
|
|
53 |
= Fixed bugs:
|
|
|
54 |
|
|
|
55 |
- Fixed bug #562: Incorrect coverage information for closure function headers.
|
|
|
56 |
- Fixed bug #566: Xdebug crashes when using conditional breakpoints.
|
|
|
57 |
- Fixed bug #567: xdebug_debug_zval and xdebug_debug_zval_stdout don't work
|
|
|
58 |
with PHP 5.3. (Patch by Endo Hiroaki).
|
|
|
59 |
- Fixed bug #570: undefined symbol: zend_memrchr.
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
Thu, Apr 06, 2010 - xdebug 2.1.0rc1
|
|
|
63 |
|
|
|
64 |
= Fixed bugs:
|
|
|
65 |
- Fixed bug #494: Private attributes of parent class unavailable when
|
|
|
66 |
inheriting.
|
|
|
67 |
- Fixed bug #400: Xdebug shows errors, even when PHP is request startup
|
|
|
68 |
mode.
|
|
|
69 |
- Fixed bug #421: xdebug sends back invalid characters in xml sometimes.
|
|
|
70 |
- Fixed bug #475: Property names with null chars are not sent fully to the
|
|
|
71 |
client.
|
|
|
72 |
- Fixed bug #480: Issues with the reserved resource in multi threaded
|
|
|
73 |
environments (Patch by Francis.Grolemund@netapp.com).
|
|
|
74 |
- Fixed bug #558: PHP segfaults when running a nested eval.
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
Sat, Feb 27, 2010 - xdebug 2.1.0beta3
|
|
|
78 |
|
|
|
79 |
= Fixed bugs:
|
|
|
80 |
- Fixed memory corruption issues.
|
|
|
81 |
- Fixed a threading related issue for code-coverage.
|
|
|
82 |
- Fixed bug #532: XDebug breaks header() function.
|
|
|
83 |
- DBGP: Prevent Xdebug from returning properties when a too high page number
|
|
|
84 |
has been requested.
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
Wed, Feb 03, 2010 - xdebug 2.1.0beta2
|
|
|
88 |
|
|
|
89 |
= Fixed bugs:
|
|
|
90 |
- Fixed memory leak in breakpoint handling.
|
|
|
91 |
- Fixed bug #528: Core dump generated with remote_connect_back option set
|
|
|
92 |
and CLI usage.
|
|
|
93 |
- Fixed bug #515: declare(ticks) statement confuses code coverage.
|
|
|
94 |
- Fixed bug #512: DBGP: breakpoint_get doesn't return conditions in its
|
|
|
95 |
response.
|
|
|
96 |
- Possible fix for bug #507/#517: Crashes because of uninitalised header
|
|
|
97 |
globals.
|
|
|
98 |
- Fixed bug #501: Xdebug's variable tracing misses POST_INC and variants.
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
Sun, Jan 03, 2010 - xdebug 2.1.0beta1
|
|
|
102 |
|
|
|
103 |
+ Added features:
|
|
|
104 |
- Added error display collection and suppressions.
|
|
|
105 |
- Added the recording of headers being set in scripts.
|
|
|
106 |
- Added variable assignment tracing.
|
|
|
107 |
- Added the ability to turn of the default overriding of var_dump().
|
|
|
108 |
- Added "Scream" support, which disables the @ operator.
|
|
|
109 |
- Added a trace-file analysing script.
|
|
|
110 |
- Added support for debugging into phars.
|
|
|
111 |
- Added a default xdebug.ini. (Patch by Martin Schuhfuß
|
|
|
112 |
<martins@spot-media.de>)
|
|
|
113 |
- Added function parameters in computerized function traces.
|
|
|
114 |
- PHP 5.3 compatibility.
|
|
|
115 |
- Improved code coverage accuracy.
|
|
|
116 |
|
|
|
117 |
+ New functions:
|
|
|
118 |
- xdebug_get_formatted_function_stack(), which returns a formatted function
|
|
|
119 |
stack instead of displaying it.
|
|
|
120 |
- xdebug_get_headers(), which returns all headers that have been set in a
|
|
|
121 |
script, both explicitly with things like header(), but also implicitly
|
|
|
122 |
for things like setcookie().
|
|
|
123 |
- xdebug_start_error_collection(), xdebug_stop_error_collection() and
|
|
|
124 |
xdebug_get_collected_errors(), which allow you to collect all notices,
|
|
|
125 |
warnings and error messages that Xdebug generates from PHP's
|
|
|
126 |
error_reporting functionality so that you can output them at a later
|
|
|
127 |
point in your script by hand.
|
|
|
128 |
|
|
|
129 |
+ New settings:
|
|
|
130 |
- xdebug.collect_assignments, which enables the emitting of variable
|
|
|
131 |
assignments in function traces.
|
|
|
132 |
- xdebug.file_line_format, to generate a link with a specific format for
|
|
|
133 |
every filename that Xdebug outputs.
|
|
|
134 |
- xdebug.overload_var_dump, which allows you to turn off Xdebug's version
|
|
|
135 |
of var_dump().
|
|
|
136 |
- xdebug.remote_cookie_expire_time, that controls the length of a
|
|
|
137 |
remote debugging session. (Patch by Rick Pannen <pannen@gmail.com>)
|
|
|
138 |
- xdebug.scream, which makes the @ operator to be ignored.
|
|
|
139 |
|
|
|
140 |
+ Changes:
|
|
|
141 |
- Added return values for xdebug_start_code_coverage() and
|
|
|
142 |
xdebug_stop_code_coverage() to indicate whether the action was
|
|
|
143 |
succesfull. xdebug_start_code_coverage() will return TRUE if the call
|
|
|
144 |
enabled code coverage, and FALSE if it was already enabled.
|
|
|
145 |
xdebug_stop_code_coverage() will return FALSE when code coverage wasn't
|
|
|
146 |
started yet and TRUE if it was turned on.
|
|
|
147 |
- Added an optional argument to xdebug_print_function_stack() to display
|
|
|
148 |
your own message. (Patch by Mikko Koppanen).
|
|
|
149 |
- All HTML output as generated by Xdebug now has a HTML "class" attribute
|
|
|
150 |
for easy CSS formatting.
|
|
|
151 |
|
|
|
152 |
- Removed features:
|
|
|
153 |
- Support for PHP versions lower than PHP 5.1 have been dropped.
|
|
|
154 |
- The PHP3 and GDB debugger engines have been removed.
|
|
|
155 |
|
|
|
156 |
= Fixed bugs:
|
|
|
157 |
- Fixed support for showing $this in remote debugging sessions.
|
|
|
158 |
- Fixed bug in formatting the display of "Variables in the local scope".
|
|
|
159 |
- Possible fix for a threading issue where the headers gathering function
|
|
|
160 |
would create stack overflows.
|
|
|
161 |
- Possible fix for #324: xdebug_dump_superglobals() only dumps superglobals
|
|
|
162 |
that were accessed before, and #478: XDebug 2.0.x can't use %R in
|
|
|
163 |
xdebug.profiler_output_name if register_long_arrays is off.
|
|
|
164 |
|
|
|
165 |
- Fixed bug #505: %s in xdebug.trace_output_name breaks functions traces.
|
|
|
166 |
- Fixed bug #494: Private attributes of parent class unavailable when
|
|
|
167 |
inheriting.
|
|
|
168 |
- Fixed bug #486: feature_get -n breakpoint_types returns out of date list.
|
|
|
169 |
- Fixed bug #476: Xdebug doesn't support PHP 5.3's exception chaining.
|
|
|
170 |
- Fixed bug #472: Dead Code Analysis for code coverage messed up after goto.
|
|
|
171 |
- Fixed bug #470: Catch blocks marked as dead code unless executed.
|
|
|
172 |
- Fixed bug #469: context_get for function variables always appear as
|
|
|
173 |
"uninitialized".
|
|
|
174 |
- Fixed bug #468: Property_get on $GLOBALS works only at top-level, by
|
|
|
175 |
adding GLOBALS to the super globals context.
|
|
|
176 |
- Fixed bug #453: Memory leaks.
|
|
|
177 |
- Fixed bug #445: error_prepend_string and error_append_string are ignored
|
|
|
178 |
by xdebug_error_cb. (Patch by Kent Davidson <kent@marketruler.com>)
|
|
|
179 |
- Fixed bug #442: configure: error: "you have strange libedit".
|
|
|
180 |
- Fixed bug #439: Xdebug crash in xdebug_header_handler.
|
|
|
181 |
- Fixed bug #423: Conflicts with funcall.
|
|
|
182 |
- Fixed bug #419: Make use of P_tmpdir if defined instead of hard coded
|
|
|
183 |
'/tmp'.
|
|
|
184 |
- Fixed bug #417: Response of context_get may lack page and pagesize
|
|
|
185 |
attributes.
|
|
|
186 |
- Fixed bug #411: Class/function breakpoint setting does not follow the
|
|
|
187 |
specs.
|
|
|
188 |
- Fixed bug #393: eval returns array data at the previous page request.
|
|
|
189 |
- Fixed bug #391: Xdebug doesn't stop executing script on catchable fatal
|
|
|
190 |
errors.
|
|
|
191 |
- Fixed bug #389: Destructors called on fatal error.
|
|
|
192 |
- Fixed bug #368: Xdebug's debugger bails out on a parse error with the
|
|
|
193 |
eval command.
|
|
|
194 |
- Fixed bug #356: Temporary breakpoints persist.
|
|
|
195 |
- Fixed bug #355: Function numbers in trace files weren't unique.
|
|
|
196 |
- Fixed bug #340: Segfault while throwing an Exception.
|
|
|
197 |
- Fixed bug #328: Private properties are incorrectly enumerated in case of
|
|
|
198 |
extended classes.
|
|
|
199 |
- Fixed bug #249: Xdebug's error handler messes up with the SOAP
|
|
|
200 |
extension's error handler.
|
|
|
201 |
|
|
|
202 |
+ DBGP:
|
|
|
203 |
- Fixed cases where private properties where shown for objects, but not
|
|
|
204 |
accessible.
|
|
|
205 |
- Added a patch by Lucas Nealan (lucas@php.net) and Brian Shire
|
|
|
206 |
(shire@php.net) of Facebook to allow connections to the initiating
|
|
|
207 |
request's IP address for remote debugging.
|
|
|
208 |
- Added the -p argument to the eval command as well, pending inclusion into
|
|
|
209 |
DBGP.
|
|
|
210 |
- Added the retrieval of a file's execution lines. I added a new
|
|
|
211 |
un-official method called xcmd_get_executable_lines which requires the
|
|
|
212 |
stack depth as argument (-d). You can only fetch this information for
|
|
|
213 |
stack frames as it needs an available op-array which is only available
|
|
|
214 |
when a function is executed.
|
|
|
215 |
- Added a fake "CLASSNAME" property to objects that are returned in debug
|
|
|
216 |
requests to facilitate deficiencies in IDEs that fail to show the "classname"
|
|
|
217 |
XML attribute.
|
|
|
218 |
|
|
|
219 |
|
|
|
220 |
Fri, Jul 03, 2009 - xdebug 2.0.5
|
|
|
221 |
|
|
|
222 |
= Fixed bugs:
|
|
|
223 |
- Fixed bug #425: memory leak (around 40MB for each request) when using
|
|
|
224 |
xdebug_start_trace.
|
|
|
225 |
- Fixed bug #422: Segfaults when using code coverage with a parse error in
|
|
|
226 |
the script.
|
|
|
227 |
- Fixed bug #418: compilation breaks with CodeWarrior for NetWare.
|
|
|
228 |
- Fixed bug #403: 'call' and 'return' breakpoints triggers both on call and
|
|
|
229 |
return for class method breakpoints.
|
|
|
230 |
- Fixed TSRM issues for PHP 5.2 and PHP 5.3. (Original patch by Elizabeth
|
|
|
231 |
M. Smith).
|
|
|
232 |
- Fixed odd crash bugs, due to GCC 4 sensitivity.
|
|
|
233 |
|
|
|
234 |
|
|
|
235 |
Tue, Dec 30, 2008 - xdebug 2.0.4
|
|
|
236 |
|
|
|
237 |
= Fixed bugs:
|
|
|
238 |
- Fixed for strange jump positions in path analysis.
|
|
|
239 |
- Fixed issues with code coverage crashing on parse errors.
|
|
|
240 |
- Fixed code code coverage by overriding more opcodes.
|
|
|
241 |
- Fixed issues with Xdebug stalling/crashing when detaching from remote
|
|
|
242 |
debugging.
|
|
|
243 |
- Fixed crash on Vista where memory was freed with routines from a different
|
|
|
244 |
standard-C library than it was allocated with. (Patch by Eric Promislow
|
|
|
245 |
<ericp@activestate.com>).
|
|
|
246 |
- Link against the correct CRT library. (Patch by Eric Promislow
|
|
|
247 |
<ericp@activestate.com>).
|
|
|
248 |
- Sort the symbol elements according to name. (Patch by Eric Promislow
|
|
|
249 |
<ericp@activestate.com>).
|
|
|
250 |
- Fixed support for mapped-drive UNC paths for Windows. (Patch by Eric
|
|
|
251 |
Promislow <ericp@activestate.com>).
|
|
|
252 |
- Fixed a segfault in interactive mode while including a file.
|
|
|
253 |
- Fixed a crash in super global dumping in case somebody was strange enough
|
|
|
254 |
to reassign them to a value type other than an Array.
|
|
|
255 |
- Simplify version checking for libtool. (Patch by PGNet
|
|
|
256 |
<pgnet.trash@gmail.com>).
|
|
|
257 |
- Fixed display of unused returned variables from functions in PHP 5.3.
|
|
|
258 |
- Include config.w32 in the packages as well.
|
|
|
259 |
- Fixed .dsp for building with PHP 4.
|
|
|
260 |
|
|
|
261 |
+ Added features:
|
|
|
262 |
- Support debugging into phars.
|
|
|
263 |
- Basic PHP 5.3 support.
|
|
|
264 |
|
|
|
265 |
|
|
|
266 |
Wed, Apr 09, 2008 - xdebug 2.0.3
|
|
|
267 |
|
|
|
268 |
= Fixed bugs:
|
|
|
269 |
- Fixed bug #338: Crash with: xdebug.remote_handler=req.
|
|
|
270 |
- Fixed bug #334: Code Coverage Regressions.
|
|
|
271 |
- Fixed abstract method detection for PHP 5.3.
|
|
|
272 |
- Fixed code coverage dead-code detection.
|
|
|
273 |
- Ignore ZEND_ADD_INTERFACE, which is on a different line in PHP >= 5.3 for
|
|
|
274 |
some weird reason.
|
|
|
275 |
|
|
|
276 |
+ Changes:
|
|
|
277 |
- Added a CSS-class for xdebug's var_dump().
|
|
|
278 |
- Added support for the new E_DEPRECATED.
|
|
|
279 |
|
|
|
280 |
|
|
|
281 |
Sun, Nov 11, 2007 - xdebug 2.0.2
|
|
|
282 |
|
|
|
283 |
= Fixed bugs:
|
|
|
284 |
- Fixed bug #325: DBGP: "detach" stops further sessions being established
|
|
|
285 |
from Apache.
|
|
|
286 |
- Fixed bug #321: Code coverage crashes on empty PHP files.
|
|
|
287 |
- Fixed bug #318: Segmentation Fault in code coverage analysis.
|
|
|
288 |
- Fixed bug #315: Xdebug crashes when including a file that doesn't exist.
|
|
|
289 |
- Fixed bug #314: PHP CLI Error Logging thwarted when XDebug Loaded.
|
|
|
290 |
- Fixed bug #300: Direction of var_dump().
|
|
|
291 |
- Always set the transaction_id and command. (Related to bug #313).
|
|
|
292 |
|
|
|
293 |
|
|
|
294 |
Sat, Oct 20, 2007 - xdebug 2.0.1
|
|
|
295 |
|
|
|
296 |
+ Changes:
|
|
|
297 |
- Improved code coverage performance dramatically.
|
|
|
298 |
- PHP 5.3 compatibility (no namespaces yet though).
|
|
|
299 |
|
|
|
300 |
= Fixed bugs:
|
|
|
301 |
- Fixed bug #301: Loading would cause SIGBUS on Solaris 10 SPARC. (Patch by
|
|
|
302 |
Sean Chalmers)
|
|
|
303 |
- Fixed bug #300: Xdebug does not force LTR rendering for its tables.
|
|
|
304 |
- Fixed bug #299: Computerized traces don't have a newline for return
|
|
|
305 |
entries if memory limit is not enabled.
|
|
|
306 |
- Fixed bug #298: xdebug_var_dump() doesn't handle entity replacements
|
|
|
307 |
correctly concerning string length.
|
|
|
308 |
- Fixed a memory free error related to remote debugging conditions.
|
|
|
309 |
(Related to bug #297).
|
|
|
310 |
|
|
|
311 |
|
|
|
312 |
Wed, Jul 18, 2007 - xdebug 2.0.0
|
|
|
313 |
|
|
|
314 |
+ Changes:
|
|
|
315 |
- Put back the disabling of stack traces - apperently people were relying
|
|
|
316 |
on this. This brings back xdebug_enable(), xdebug_disable() and
|
|
|
317 |
xdebug_is_enabled().
|
|
|
318 |
- xdebug.collect_params is no longer a boolean setting. Although it worked
|
|
|
319 |
fine, phpinfo() showed only just On or Off here.
|
|
|
320 |
- Fixed the Xdebug version of raw_url_encode to not encode : and \. This is
|
|
|
321 |
not necessary according to the RFCs and it makes debug breakpoints work
|
|
|
322 |
on Windows.
|
|
|
323 |
|
|
|
324 |
= Fixed bugs:
|
|
|
325 |
- Fixed bug #291: Tests that use SPL do not skip when SPL is not available.
|
|
|
326 |
- Fixed bug #290: Function calls leak memory.
|
|
|
327 |
- Fixed bug #289: Xdebug terminates connection when eval() is run in the
|
|
|
328 |
init stage.
|
|
|
329 |
- Fixed bug #284: Step_over on breakpointed line made Xdebug break twice.
|
|
|
330 |
- Fixed bug #283: Xdebug always returns $this with the value of last stack
|
|
|
331 |
frame.
|
|
|
332 |
- Fixed bug #282: %s is not usable for xdebug.profiler_output_name on
|
|
|
333 |
Windows in all stack frames.
|
|
|
334 |
- Fixed bug #280: var_dump() doesn't display key of array as expected.
|
|
|
335 |
- Fixed bug #278: Code Coverage Issue.
|
|
|
336 |
- Fixed bug #273: Remote debugging: context_get does not return context id.
|
|
|
337 |
- Fixed bug #270: Debugger aborts when PHP's eval() is encountered.
|
|
|
338 |
- Fixed bug #265: XDebug breaks error_get_last() .
|
|
|
339 |
- Fixed bug #261: Code coverage issues by overloading zend_assign_dim.
|
|
|
340 |
|
|
|
341 |
+ DBGP:
|
|
|
342 |
- Added support for "breakpoint_languages".
|
|
|
343 |
|
|
|
344 |
|
|
|
345 |
Wed, May 17, 2007 - xdebug 2.0.0rc4
|
|
|
346 |
+ Changes:
|
|
|
347 |
- Use µ seconds instead of a tenths of µ seconds to avoid confusion in
|
|
|
348 |
profile information.
|
|
|
349 |
- Changed xdebug.profiler_output_name and xdebug.trace_output_name to use
|
|
|
350 |
modifier tags:
|
|
|
351 |
%c = crc32 of the current working directory
|
|
|
352 |
%p = pid
|
|
|
353 |
%r = random number
|
|
|
354 |
%s = script name
|
|
|
355 |
%t = timestamp (seconds)
|
|
|
356 |
%u = timestamp (microseconds)
|
|
|
357 |
%H = $_SERVER['HTTP_HOST']
|
|
|
358 |
%R = $_SERVER['REQUEST_URI']
|
|
|
359 |
%S = session_id (from $_COOKIE if set)
|
|
|
360 |
%% = literal %
|
|
|
361 |
|
|
|
362 |
= Fixed bugs:
|
|
|
363 |
- Fixed bug #255: Call Stack Table doesn't show Location on Windows.
|
|
|
364 |
- Fixed bug #251: Using the source command with an invalid filename returns
|
|
|
365 |
unexpected result.
|
|
|
366 |
- Fixed bug #243: show_exception_trace="0" ignored.
|
|
|
367 |
- Fixed bug #241: Crash in xdebug_get_function_stack().
|
|
|
368 |
- Fixed bug #240: Crash with xdebug.remote_log on Windows.
|
|
|
369 |
- Fixed a segfault in rendering stack traces to error logs.
|
|
|
370 |
- Fixed a bug that prevented variable names from being recorded for remote
|
|
|
371 |
debug session while xdebug.collect_vars was turned off.
|
|
|
372 |
- Fixed xdebug_dump_superglobals() in case no super globals were
|
|
|
373 |
configured.
|
|
|
374 |
|
|
|
375 |
- Removed functions:
|
|
|
376 |
- Removed support for Memory profiling as that didn't work properly.
|
|
|
377 |
- Get rid of xdebug.default_enable setting and associated functions:
|
|
|
378 |
xdebug_disable() and xdebug_enable().
|
|
|
379 |
|
|
|
380 |
+ Added features:
|
|
|
381 |
- Implemented support for four different xdebug.collect_params settings for
|
|
|
382 |
stack traces and function traces.
|
|
|
383 |
- Allow to trigger profiling by the XDEBUG_PROFILE cookie.
|
|
|
384 |
|
|
|
385 |
+ DBGP:
|
|
|
386 |
- Correctly add namespace definitions to XML.
|
|
|
387 |
- Added the xdebug namespace that adds extra information to breakpoints if
|
|
|
388 |
available.
|
|
|
389 |
- Stopped the use of <error> elements for exception breakpoints, as that
|
|
|
390 |
violates the protocol.
|
|
|
391 |
|
|
|
392 |
|
|
|
393 |
Wed, Jan 31, 2007 - xdebug 2.0.0rc3
|
|
|
394 |
+ Changes:
|
|
|
395 |
- Removed the bogus "xdebug.allowed_clients" setting - it was not
|
|
|
396 |
implemented.
|
|
|
397 |
- Optimized used variable collection by switching to a linked list instead
|
|
|
398 |
of a hash. This is about 30% faster, but it needed a quick conversion to
|
|
|
399 |
hash in the case the information had to be shown to remove duplicate
|
|
|
400 |
variable names.
|
|
|
401 |
|
|
|
402 |
= Fixed bugs:
|
|
|
403 |
- Fixed bug #232: PHP log_errors functionality lost after enabling xdebug
|
|
|
404 |
error handler when CLI is used.
|
|
|
405 |
- Fixed problems with opening files - the filename could cause double free
|
|
|
406 |
issues.
|
|
|
407 |
- Fixed memory tracking as memory_limit is always enabled in PHP 5.2.1 and
|
|
|
408 |
later.
|
|
|
409 |
- Fixed a segfault that occurred when creating printable stack traces and
|
|
|
410 |
collect_params was turned off.
|
|
|
411 |
|
|
|
412 |
|
|
|
413 |
Sun, Dec 24, 2006 - xdebug 2.0.0rc2
|
|
|
414 |
+ Added new features:
|
|
|
415 |
- Implemented the "xdebug.var_display_max_children" setting. The default is
|
|
|
416 |
set to 128 children.
|
|
|
417 |
- Added types to fancy var dumping function.
|
|
|
418 |
- Implemented FR #210: Add a way to stop the debug session without having
|
|
|
419 |
to execute a script. The GET/POST parameter "XDEBUG_SESSION_STOP_NO_EXEC"
|
|
|
420 |
works in the same way as XDEBUG_SESSION_STOP, except that the script will
|
|
|
421 |
not be executed.
|
|
|
422 |
- DBGP: Allow postmortem analysis.
|
|
|
423 |
- DBGP: Added the non-standard function xcmd_profiler_name_get.
|
|
|
424 |
|
|
|
425 |
+ Changes:
|
|
|
426 |
- Fixed the issue where xdebug_get_declared_vars() did not know about
|
|
|
427 |
variables there are in the declared function header, but were not used in
|
|
|
428 |
the code. Due to this change expected arguments that were not send to a
|
|
|
429 |
function will now show up as ??? in stack and function traces in PHP 5.1
|
|
|
430 |
and PHP 5.2.
|
|
|
431 |
- Allow xdebug.var_display_max_data and xdebug.var_display_max_depth
|
|
|
432 |
settings of -1 which will unlimit those settings.
|
|
|
433 |
- DBGP: Sort super globals in Globals overview.
|
|
|
434 |
- DBGP: Fixed a bug where error messages where not added upon errors in the
|
|
|
435 |
protocol.
|
|
|
436 |
- DBGP: Change context 1 from globals (superglobals + vars in bottom most
|
|
|
437 |
stack frame) to just superglobals.
|
|
|
438 |
|
|
|
439 |
= Fixed bugs:
|
|
|
440 |
- Fixed linking error on AIX by adding libm.
|
|
|
441 |
- Fixed dead code analysis for THROW.
|
|
|
442 |
- Fixed oparray prefill caching for code coverage.
|
|
|
443 |
- Fixed the xdebug.remote_log feature work.
|
|
|
444 |
- DBGP: Fixed a bug where $this did not appear in the local scoped context.
|
|
|
445 |
- DBGP: Reimplemented property_set to use the same symbol fetching function
|
|
|
446 |
as property_get. We now only use eval in case no type (-t) argument was
|
|
|
447 |
given.
|
|
|
448 |
- DBGP: Fixed some issues with finding out the classname, which is
|
|
|
449 |
important for fetching private properties.
|
|
|
450 |
- DBGP: Fixed usage of uninitialized memory that prevented looking up
|
|
|
451 |
numerical array keys while fetching array elements not work properly.
|
|
|
452 |
- Fixed bug #228: Binary safety for stream output and property fetches.
|
|
|
453 |
- Fixed bug #227: The SESSION super global does not show up in the Globals
|
|
|
454 |
scope.
|
|
|
455 |
- Fixed bug #225: xdebug dumps core when protocol is GDB.
|
|
|
456 |
- Fixed bug #224: Compile failure on Solaris.
|
|
|
457 |
- Fixed bug #219: Memory usage delta in traces don't work on PHP 5.2.0.
|
|
|
458 |
- Fixed bug #215: Cannot retrieve nested arrays when the array key is a
|
|
|
459 |
numeric index.
|
|
|
460 |
- Fixed bug #214: The depth level of arrays was incorrectly checked so it
|
|
|
461 |
would show the first page of a level too deep as well.
|
|
|
462 |
- Fixed bug #213: Dead code analysis doesn't take catches for throws into
|
|
|
463 |
account.
|
|
|
464 |
- Fixed bug #211: When starting a new session with a different idekey, the
|
|
|
465 |
cookie is not updated.
|
|
|
466 |
- Fixed bug #209: Additional remote debugging session started when
|
|
|
467 |
triggering shutdown function.
|
|
|
468 |
- Fixed bug #208: Socket connection attempted when XDEBUG_SESSION_STOP.
|
|
|
469 |
- Fixed PECL bug #8989: Compile error with PHP 5 and GCC 2.95.
|
|
|
470 |
|
|
|
471 |
|
|
|
472 |
Sun, Oct 08, 2006 - xdebug 2.0.0rc1
|
|
|
473 |
+ Added new features:
|
|
|
474 |
- Implemented FR #70: Provide optional depth on xdebug_call_* functions.
|
|
|
475 |
- Partially implemented FR #50: Resource limiting for variable display. By
|
|
|
476 |
default only two levels of nested variables and max string lengths of 512
|
|
|
477 |
are shown. This can be changed by setting the ini settings
|
|
|
478 |
xdebug.var_display_max_depth and xdebug.var_display_max_data.
|
|
|
479 |
- Implemented breakpoints for different types of PHP errors. You can now
|
|
|
480 |
set an 'exception' breakpoint on "Fatal error", "Warning", "Notice" etc.
|
|
|
481 |
This is related to bug #187.
|
|
|
482 |
- Added the xdebug_print_function_trace() function to display a stack trace on
|
|
|
483 |
demand.
|
|
|
484 |
- Reintroduce HTML tracing by adding a new tracing option "XDEBUG_TRACE_HTML"
|
|
|
485 |
(4).
|
|
|
486 |
- Made xdebug_stop_trace() return the trace file name, so that the
|
|
|
487 |
following works: <?php echo file_get_contents( xdebug_stop_trace() ); ?>
|
|
|
488 |
- Added the xdebug.collect_vars setting to tell Xdebug to collect
|
|
|
489 |
information about which variables are used in a scope. Now you don't need
|
|
|
490 |
to show variables with xdebug.show_local_vars anymore for
|
|
|
491 |
xdebug_get_declared_vars() to work.
|
|
|
492 |
- Make the filename parameter to the xdebug_start_trace() function
|
|
|
493 |
optional. If left empty it will use the same algorithm to pick a filename
|
|
|
494 |
as when you are using the xdebug.auto_trace setting.
|
|
|
495 |
|
|
|
496 |
+ Changes:
|
|
|
497 |
- Implemented dead code analysis during code coverage for:
|
|
|
498 |
* abstract methods.
|
|
|
499 |
* dead code after return, throw and exit.
|
|
|
500 |
* implicit returns when a normal return is present.
|
|
|
501 |
- Improved readability of stack traces.
|
|
|
502 |
- Use PG(html_errors) instead of checking whether we run with CLI when
|
|
|
503 |
deciding when to use HTML messages or plain text messages.
|
|
|
504 |
|
|
|
505 |
= Fixed bugs:
|
|
|
506 |
- Fixed bug #203: PHP errors with HTML content processed incorrectly. This
|
|
|
507 |
patch backs out the change that was made to fix bug #182.
|
|
|
508 |
- Fixed bug #198: Segfault when trying to use a non-existing debug handler.
|
|
|
509 |
- Fixed bug #197: Race condition fixes created too many files.
|
|
|
510 |
- Fixed bug #196: Profile timing on Windows does not work.
|
|
|
511 |
- Fixed bug #195: CLI Error after debugging session.
|
|
|
512 |
- Fixed bug #193: Compile problems with PHP 5.2.
|
|
|
513 |
- Fixed bug #191: File/line breakpoints are case-sensitive on Windows.
|
|
|
514 |
- Fixed bug #181: Xdebug doesn't handle uncaught exception output
|
|
|
515 |
correctly.
|
|
|
516 |
- Fixed bug #173: Coverage produces wrong coverage.
|
|
|
517 |
- Fixed a typo that prevented the XDEBUG_CONFIG option "profiler_enable"
|
|
|
518 |
from working.
|
|
|
519 |
|
|
|
520 |
|
|
|
521 |
Fri, Jun 30, 2006 - xdebug 2.0.0beta6
|
|
|
522 |
+ Added new features:
|
|
|
523 |
- Implemented FR #137: feature_get for general commands doesn't have a text field.
|
|
|
524 |
- Implemented FR #131: XDebug needs to implement paged child object requests.
|
|
|
525 |
- Implemented FR #124: Add backtrace dumping information when exception thrown.
|
|
|
526 |
- Implemented FR #70: Add feature_get breakpoint_types.
|
|
|
527 |
- Added profiling aggregation functions (patch by Andrei Zmievski)
|
|
|
528 |
- Implemented the "timestamp" option for the xdebug.trace_output_name and
|
|
|
529 |
xdebug.profiler_output_name settings.
|
|
|
530 |
- Added the xdebug.remote_log setting that allows you to log debugger
|
|
|
531 |
communication to a log file for debugging. This can also be set through
|
|
|
532 |
the "remote_log" element in the XDEBUG_CONFIG environment variable.
|
|
|
533 |
- Added a "script" value to the profiler_output_name option. This will write
|
|
|
534 |
the profiler output to a filename that consists of the script's full path
|
|
|
535 |
(using underscores). ie: /var/www/index.php becomes
|
|
|
536 |
var_www_index_php_cachegrind.out. (Patch by Brian Shire).
|
|
|
537 |
- DBGp: Implemented support for hit conditions for breakpoints.
|
|
|
538 |
- DBGp: Added support for conditions for file/line breakpoints.
|
|
|
539 |
- DBGp: Added support for hit value checking to file/line breakpoints.
|
|
|
540 |
- DBGp: Added support for "exception" breakpoints.
|
|
|
541 |
|
|
|
542 |
+ Performance improvements:
|
|
|
543 |
- Added a cache that prevents the code coverage functionality from running a
|
|
|
544 |
"which code is executable check" on every function call, even if they
|
|
|
545 |
were executed multiple times. This should speed up code coverage a lot.
|
|
|
546 |
- Speedup Xdebug but only gathering information about variables in scopes when
|
|
|
547 |
either remote debugging is used, or show_local_vars is enabled.
|
|
|
548 |
|
|
|
549 |
= Fixed bugs:
|
|
|
550 |
- Fixed bug #184: problem with control chars in code traces
|
|
|
551 |
- Fixed bug #183: property_get -n $this->somethingnonexistent crashes the
|
|
|
552 |
debugger.
|
|
|
553 |
- Fixed bug #182: Errors are not html escaped when being displayed.
|
|
|
554 |
- Fixed bug #180: collected includes not shown in trace files. (Patch by
|
|
|
555 |
Cristian Rodriguez)
|
|
|
556 |
- Fixed bug #178: $php_errormsg and Track errors unavailable.
|
|
|
557 |
- Fixed bug #177: debugclient fails to compile due to Bison.
|
|
|
558 |
- Fixed bug #176: Segfault using SplTempFileObject.
|
|
|
559 |
- Fixed bug #173: Xdebug segfaults using SPL ArrayIterator.
|
|
|
560 |
- Fixed bug #171: set_time_limit stack overflow on 2nd request.
|
|
|
561 |
- Fixed bug #168: Xdebug's DBGp crashes on an eval command where the
|
|
|
562 |
result is an array.
|
|
|
563 |
- Fixed bug #125: show_mem_delta does not calculate correct negative values on
|
|
|
564 |
64bit machines.
|
|
|
565 |
- Fixed bug #121: property_get -n $r[2] returns the whole hash.
|
|
|
566 |
- Fixed bug #111: xdebug does not ignore set_time_limit() function during debug
|
|
|
567 |
session.
|
|
|
568 |
- Fixed bug #87: Warning about headers when "register_shutdown_function" used.
|
|
|
569 |
- Fixed PECL bug #6940 (XDebug ignores set_time_limit)
|
|
|
570 |
- Fixed Komodo bug 45484: no member data for objects in PHP debugger.
|
|
|
571 |
- Suppress NOP/EXT_NOP from being marked as executable code with Code
|
|
|
572 |
Coverage.
|
|
|
573 |
|
|
|
574 |
|
|
|
575 |
Sat, Dec 31, 2005 - xdebug 2.0.0beta5
|
|
|
576 |
+ Added new features:
|
|
|
577 |
- Implemented FR #161: var_dump doesn't show lengths for strings.
|
|
|
578 |
- Implemented FR #158: Function calls from the {main} scope always have the
|
|
|
579 |
line number 0.
|
|
|
580 |
- Implemented FR #156: it's impossible to know the time taken by the last
|
|
|
581 |
func call in xdebug trace mode 0.
|
|
|
582 |
- Implemented FR #153: xdebug_get_declared_vars().
|
|
|
583 |
|
|
|
584 |
= Fixed bugs:
|
|
|
585 |
- Fixed shutdown crash with ZTS on Win32
|
|
|
586 |
- Fixed bad memory leak when a E_ERROR of exceeding memory_limit was
|
|
|
587 |
thrown.
|
|
|
588 |
- Fixed bug #154: GCC 4.0.2 optimizes too much out with -O2.
|
|
|
589 |
- Fixed bug #141: Remote context_get causes segfault.
|
|
|
590 |
|
|
|
591 |
|
|
|
592 |
Thu, Sep 24, 2005 - xdebug 2.0.0beta4
|
|
|
593 |
+ Added new features:
|
|
|
594 |
- Added xdebug_debug_zval_stdout().
|
|
|
595 |
- Added xdebug_get_profile_filename() function which returns the current
|
|
|
596 |
profiler dump file.
|
|
|
597 |
- Updated for latest 5.1 and 6.0 CVS versions of PHP.
|
|
|
598 |
- Added FR #148: Option to append to cachegrind files, instead of
|
|
|
599 |
overwriting.
|
|
|
600 |
- Implemented FR #114: Rename tests/*.php to tests/*.inc
|
|
|
601 |
|
|
|
602 |
- Changed features:
|
|
|
603 |
- Allow "xdebug.default_enable" to be set everywhere.
|
|
|
604 |
|
|
|
605 |
= Fixed bugs:
|
|
|
606 |
- DBGP: Xdebug should return "array" with property get, which is defined
|
|
|
607 |
in the typemap to the common type "hash".
|
|
|
608 |
- Debugclient: Will now build with an older libedit as found in FreeBSD
|
|
|
609 |
4.9.
|
|
|
610 |
- Fixed bug #142: xdebug crashes with implicit destructor calls.
|
|
|
611 |
- Fixed bug #136: The "type" attribute is missing from stack_get returns.
|
|
|
612 |
- Fixed bug #133: PHP scripts exits with 0 on PHP error.
|
|
|
613 |
- Fixed bug #132: use of eval causes a segmentation fault.
|
|
|
614 |
|
|
|
615 |
|
|
|
616 |
Thu, May 12, 2005 - xdebug 2.0.0beta3
|
|
|
617 |
+ Added new features:
|
|
|
618 |
- Added the possibility to trigger the profiler by setting
|
|
|
619 |
"xdebug.profiler_enable_trigger" to 1 and using XDEBUG_PROFILE as a get
|
|
|
620 |
parameter.
|
|
|
621 |
|
|
|
622 |
+ Added new functions:
|
|
|
623 |
- xdebug_get_profiler_filename() to retrieve the name of the dump file
|
|
|
624 |
used by profiler.
|
|
|
625 |
|
|
|
626 |
= Fixed bugs:
|
|
|
627 |
- Fixed a segfault for when an attribute value is NULL on XML string
|
|
|
628 |
generation.
|
|
|
629 |
- Fixed bug #118: Segfault with exception when remote debugging.
|
|
|
630 |
- Fixed bug #117: var_dump dows not work with "private".
|
|
|
631 |
- Fixed bug #109: DBGP's eval will abort the script when the eval statement
|
|
|
632 |
is invalid.
|
|
|
633 |
- Fixed bug #108: log_only still displays some text for errors in included
|
|
|
634 |
files.
|
|
|
635 |
- Fixed bug #107: Code Coverage only detects executable code in used
|
|
|
636 |
functions and classes.
|
|
|
637 |
- Fixed bug #103: crash when running the DBGp command 'eval' on a global
|
|
|
638 |
variable
|
|
|
639 |
- Fixed bug #95: Segfault when deinitializing Xdebug module.
|
|
|
640 |
(Patch by Maxim Poltarak <demiurg@gmail.com>)
|
|
|
641 |
|
|
|
642 |
|
|
|
643 |
Sun, Nov 28, 2004 - xdebug 2.0.0beta2
|
|
|
644 |
+ Added new features:
|
|
|
645 |
- DBGP: Added error messages to returned errors (in most cases)
|
|
|
646 |
|
|
|
647 |
+ Added new functions:
|
|
|
648 |
- xdebug_debug_zval() to debug zvals by printing its refcounts and is_ref
|
|
|
649 |
values.
|
|
|
650 |
|
|
|
651 |
= Changed features:
|
|
|
652 |
- xdebug_code_coverage_stop() will now clean up the code coverage array,
|
|
|
653 |
unless you specify FALSE as parameter.
|
|
|
654 |
- The proper Xdebug type is "hash" for associative arrays.
|
|
|
655 |
- Extended the code-coverage functionality by returning lines with
|
|
|
656 |
executable code on them, but where not executed with a count value of -1.
|
|
|
657 |
|
|
|
658 |
= Fixed bugs:
|
|
|
659 |
- DBGP: Make property_get and property_value finally work as they should,
|
|
|
660 |
including retrieving information from different depths then the most top
|
|
|
661 |
stack frame.
|
|
|
662 |
- DBGP: Fix eval'ed $varnames in property_get.
|
|
|
663 |
- DBGP: Support the -d option for property_get.
|
|
|
664 |
- Fixed the exit handler hook to use the new "5.1" way of handling it;
|
|
|
665 |
which fortunately also works with PHP 5.0.
|
|
|
666 |
- Fixed bug #102: Problems with configure for automake 1.8.
|
|
|
667 |
- Fixed bug #101: crash with set_exeception_handler() and uncatched exceptions.
|
|
|
668 |
- Fixed bug #99: unset variables return the name as a string with property_get.
|
|
|
669 |
- Fixed bug #98: 'longname' attribute not returned for unintialized
|
|
|
670 |
property in context_get request.
|
|
|
671 |
- Fixed bug #94: xdebug_sprintf misbehaves with x86_64/glibc-2.3.3
|
|
|
672 |
- Fixed bug #93: Crash in lookup_hostname on x86_64
|
|
|
673 |
- Fixed bug #92: xdebug_disable() doesn't disable the exception handler.
|
|
|
674 |
- Fixed bug #68: Summary not written when script ended with "exit()".
|
|
|
675 |
|
|
|
676 |
|
|
|
677 |
Wed, Sep 15, 2004 - xdebug 2.0.0beta1
|
|
|
678 |
+ Added new features:
|
|
|
679 |
- Added support for the new DBGp protocol for communicating with the debug
|
|
|
680 |
engine.
|
|
|
681 |
- A computerized trace format for easier parsing by external programs.
|
|
|
682 |
- The ability to set remote debugging features via the environment. This
|
|
|
683 |
allows an IDE to emulate CGI and still pass the configuration through to
|
|
|
684 |
the debugger. In CGI mode, PHP does not allow -d arguments.
|
|
|
685 |
- Reimplementation of the tracing code, you can now only trace to file; this greatly
|
|
|
686 |
enhances performance as no string representation of variables need to be
|
|
|
687 |
kept in memory any more.
|
|
|
688 |
- Re-implemented profiling support. Xdebug outputs information the same way
|
|
|
689 |
that cachegrind does so it is possible to use Kcachegrind as front-end.
|
|
|
690 |
- Xdebug emits warnings when it was not loaded as a Zend extension.
|
|
|
691 |
- Added showing private, protected and public to the fancy var_dump()
|
|
|
692 |
replacement function.
|
|
|
693 |
- Added the setting of the TCP_NODELAY socket option to stop delays in
|
|
|
694 |
transferring data to the remote debugger client. (Patch by Christof J. Reetz)
|
|
|
695 |
+ DebugClient: Added setting for port to listen on and implemented running
|
|
|
696 |
the previous command when pressing just enter.
|
|
|
697 |
|
|
|
698 |
+ Added new functions:
|
|
|
699 |
- xdebug_get_stack_depth() to return the current stack depth level.
|
|
|
700 |
- xdebug_get_tracefile_name() to retrieve the name of the tracefile. This
|
|
|
701 |
is useful in case auto trace is enabled and you want to clean the trace
|
|
|
702 |
file.
|
|
|
703 |
- xdebug_peak_memory_usage() which returns the peak memory
|
|
|
704 |
used in a script. (Only works when --enable-memory-limit was enabled)
|
|
|
705 |
|
|
|
706 |
+ Added feature requests:
|
|
|
707 |
- FR #5: xdebug_break() function which interupts the script for the debug
|
|
|
708 |
engine.
|
|
|
709 |
- FR #30: Dump current scope information in stack traces on error.
|
|
|
710 |
- FR #88: Make the url parameter XDEBUG_SESSION_START optional. So it can
|
|
|
711 |
be disabled and the user does not need to add it.
|
|
|
712 |
|
|
|
713 |
+ Added new php.ini settings:
|
|
|
714 |
- xdebug.auto_trace_file: to configure a trace file to write to as addition
|
|
|
715 |
to the xdebug.auto_trace setting which just turns on tracing.
|
|
|
716 |
- xdebug.collect_includes: separates collecting
|
|
|
717 |
names of include files from the xdebug.collect_params setting.
|
|
|
718 |
- xdebug.collect_return: showing return values in traces.
|
|
|
719 |
- xdebug.dump_global: with which you can turn off dumping of super globals
|
|
|
720 |
even in you have that configured.
|
|
|
721 |
- xdebug.extended_info: turns off the generation of extended opcodes that
|
|
|
722 |
are needed for stepping and breakpoints for the remote debugger. This is
|
|
|
723 |
useful incase you want to profile memory usage as the generation of this
|
|
|
724 |
extended info increases memory usage of oparrrays by about 33%.
|
|
|
725 |
- xdebug.profiler_output_dir: profiler output directory.
|
|
|
726 |
- xdebug.profiler_enable: enable the profiler.
|
|
|
727 |
- xdebug.show_local_vars: turn off the showing of local variables in the
|
|
|
728 |
top most stack frame on errors.
|
|
|
729 |
- xdebug.show_mem_delta: show differences between current and previous
|
|
|
730 |
memory usage on a function call level.
|
|
|
731 |
- xdebug.trace_options: to configure extra
|
|
|
732 |
options for trace dumping:
|
|
|
733 |
o XDEBUG_TRACE_APPEND option (1)
|
|
|
734 |
|
|
|
735 |
= Changed features:
|
|
|
736 |
- xdebug_start_trace() now returns the filename of the tracefile (.xt is
|
|
|
737 |
added to the requested name).
|
|
|
738 |
- Changed default debugging protocol to dbgp instead of gdb.
|
|
|
739 |
- Changed default debugger port from 17869 to 9000.
|
|
|
740 |
- Changed trace file naming: xdebug.trace_output_dir is now used to
|
|
|
741 |
configure a directory to dump automatic traces; the trace file name now
|
|
|
742 |
also includes the pid (xdebug.trace_output_name=pid) or a crc32 checksum
|
|
|
743 |
of the current working dir (xdebug.trace_output_name=crc32) and traces
|
|
|
744 |
are not being appended to an existing file anymore, but simply
|
|
|
745 |
overwritten.
|
|
|
746 |
- Removed $this and $GLOBALS from showing variables in the local scope.
|
|
|
747 |
|
|
|
748 |
- Removed functions:
|
|
|
749 |
- xdebug_get_function_trace/xdebug_dump_function_trace() because of the new
|
|
|
750 |
idea of tracing.
|
|
|
751 |
|
|
|
752 |
= Fixed bugs:
|
|
|
753 |
- Fixed bug #89: var_dump shows empty strings garbled.
|
|
|
754 |
- Fixed bug #85: Xdebug segfaults when no idekey is set.
|
|
|
755 |
- Fixed bug #83: More than 32 parameters functions make xdebug crash.
|
|
|
756 |
- Fixed bug #75: xdebug's var_dump implementation is not binary safe.
|
|
|
757 |
- Fixed bug #73: komodo beta 4.3.7 crash.
|
|
|
758 |
- Fixed bug #72: breakpoint_get returns wrong structure.
|
|
|
759 |
- Fixed bug #69: Integer overflow in cachegrind summary.
|
|
|
760 |
- Fixed bug #67: Filenames in Xdebug break URI RFC with spaces.
|
|
|
761 |
- Fixed bug #64: Missing include of xdebug_compat.h.
|
|
|
762 |
- Fixed bug #57: Crash with overloading functions.
|
|
|
763 |
- Fixed bug #54: source command did not except missing -f parameter.
|
|
|
764 |
- Fixed bug #53: Feature get misusing the supported attribute.
|
|
|
765 |
- Fixed bug #51: Only start a debug session if XDEBUG_SESSION_START is
|
|
|
766 |
passed as GET or POST parameter, or the DBGP_COOKIE is send to the server.
|
|
|
767 |
Passing XDEBUG_SESSION_STOP as GET/POST parameter will end the debug
|
|
|
768 |
session and removes the cookie again. The cookie is also passed to the
|
|
|
769 |
remote handler backends; for DBGp it is added to the <init> packet.
|
|
|
770 |
- Fixed bug #49: Included file's names should not be stored by address.
|
|
|
771 |
- Fixed bug #44: Script time-outs should be disabled when debugging.
|
|
|
772 |
- Fixed bug #36: GDB handler using print causes segfault with wrong syntax
|
|
|
773 |
- Fixed bug #33: Implemented the use of the ZEND_POST_DEACTIVATE hook. Now we
|
|
|
774 |
can handle destructors safely too.
|
|
|
775 |
- Fixed bug #32: Unusual dynamic variables cause xdebug to crash.
|
|
|
776 |
|
|
|
777 |
|
|
|
778 |
Fri, Dec 26, 2003 - xdebug 1.3.0
|
|
|
779 |
|
|
|
780 |
+ GDB: Added file/line to signals. (Derick)
|
|
|
781 |
= Fixed logging to adhere to the error_reporting setting. (Derick)
|
|
|
782 |
= Fixed bug #32: Unusual dynamic variables cause xdebug to crash. (Ilia)
|
|
|
783 |
= Fixed bug #31: & entity replaced after others, wrong HTML output. (Derick)
|
|
|
784 |
= Fixed bug #22: Segmentation fault with xdebug_get_function_stack() and
|
|
|
785 |
collect_params=1. (Derick)
|
|
|
786 |
|
|
|
787 |
|
|
|
788 |
Tue, Nov 08, 2003 - xdebug 1.3.0rc2
|
|
|
789 |
|
|
|
790 |
+ Added version info to handlers which show in phpinfo() output. (Derick)
|
|
|
791 |
= GDB: Fixed bug with continuing after breakpoint where only 'cont' worked.
|
|
|
792 |
(Derick)
|
|
|
793 |
= GDB: Fixed bug in deleting absolute breakpoints on Windows. (Derick)
|
|
|
794 |
= Fixed bug #27: Repeated connect attempts when no debugger is listening.
|
|
|
795 |
(Derick)
|
|
|
796 |
= Fixed bug #19: The value of xdebug.output_dir in a .htaccess never takes
|
|
|
797 |
effect. (Derick)
|
|
|
798 |
= Fixed bug #18: Mistyped sizeof()'s for array indexes in profiler output.
|
|
|
799 |
(Derick)
|
|
|
800 |
= Fixed handling stack traces for when display_errors was set to Off. (Derick)
|
|
|
801 |
= Fixed segfault where a function name didn't exist in case of a
|
|
|
802 |
"call_user_function". (Derick)
|
|
|
803 |
= Fixed reading a filename in case of an callback to a PHP function from an
|
|
|
804 |
internal function (like "array_map()"). (Derick)
|
|
|
805 |
|
|
|
806 |
|
|
|
807 |
Thu, Sep 18, 2003 - xdebug 1.3.0rc1
|
|
|
808 |
|
|
|
809 |
= Fixed bug with wrong file names for functions called from call_user_*().
|
|
|
810 |
(Derick)
|
|
|
811 |
+ Added the option "dump_superglobals" to the remote debugger. If you set this
|
|
|
812 |
option to 0 the "show-local" and similar commands will not return any data
|
|
|
813 |
from superglobals anymore. (Derick)
|
|
|
814 |
= Fixed bug #2: "pear package" triggers a segfault. (Derick)
|
|
|
815 |
= Fixed crash bug when a function had sprintf style parameters (ie.
|
|
|
816 |
strftime()). (Derick)
|
|
|
817 |
+ Added "id" attribute to <var /> elements in responses from the remove
|
|
|
818 |
debugger when the response method is XML. This makes it possible to
|
|
|
819 |
distinguish between unique elements by use of recursion for example. (Derick)
|
|
|
820 |
= Improved performance greatly by doing lazy folding of variables outside
|
|
|
821 |
trace mode. (Derick)
|
|
|
822 |
= Fixed a bug with "quit", if it was used it disabled the extension for the
|
|
|
823 |
current process. (Derick)
|
|
|
824 |
+ Added the "full" argument to the remote command "backtrace". When this
|
|
|
825 |
argument is passed, the local variables will be returned to for each frame in
|
|
|
826 |
the stack. (Derick)
|
|
|
827 |
+ Implemented xdebug_time_index() which returns the time passed since the
|
|
|
828 |
start of the script. This change also changes the output of the tracing
|
|
|
829 |
functions as the start time will no longer be the first function call, but
|
|
|
830 |
the real start time of the script. (Derick)
|
|
|
831 |
+ Implemented the "show-local" command (shows all local variables in the
|
|
|
832 |
current scope including all contents). (Derick)
|
|
|
833 |
+ Implemented conditions for breakpoints in the "break" command. (Derick)
|
|
|
834 |
|
|
|
835 |
|
|
|
836 |
Mon, Apr 21, 2003 - xdebug 1.2.0
|
|
|
837 |
|
|
|
838 |
= Fixed compilation on MacOSX. (Derick)
|
|
|
839 |
|
|
|
840 |
|
|
|
841 |
Tue, Apr 15, 2003 - xdebug 1.2.0rc2
|
|
|
842 |
|
|
|
843 |
= Fixed handling Windows paths in the debugger. (Derick)
|
|
|
844 |
= Fixed getting zvals out of Zend Engine 2. (Derick)
|
|
|
845 |
|
|
|
846 |
|
|
|
847 |
Sun, Apr 6, 2003 - xdebug 1.2.0rc1
|
|
|
848 |
|
|
|
849 |
+ Added code coverage functions to check which lines and how often they were
|
|
|
850 |
touched during execution. (Derick)
|
|
|
851 |
+ Made Xdebug compatible with Zend Engine 2. (Derick)
|
|
|
852 |
+ Added dumping of super globals on errors. (Harald Radi)
|
|
|
853 |
+ Added XML protocol for the debugger client. (Derick)
|
|
|
854 |
= Fixed handling of "continue" (so that it also continues with the script).
|
|
|
855 |
(Derick)
|
|
|
856 |
+ Additions to the remote debugger: "eval" (evaluate any PHP code from the
|
|
|
857 |
debugger client). (Derick)
|
|
|
858 |
+ Added profiling support to xdebug. This introduces 3 new functions,
|
|
|
859 |
xdebug_start_profiling() that begins profiling process,
|
|
|
860 |
xdebug_stop_profiling() that ends the profiling process and
|
|
|
861 |
xdebug_dump_function_trace() that dumps the profiling data. (Ilia)
|
|
|
862 |
+ Implemented the "kill" (kills the running script) and "delete" (removes
|
|
|
863 |
a breakpoint on a specified element) command. (Derick)
|
|
|
864 |
|
|
|
865 |
|
|
|
866 |
Wed Nov 11, 2002 - xdebug 1.1.0
|
|
|
867 |
|
|
|
868 |
+ Implemented the "list" (source listing), "print" (printing variable
|
|
|
869 |
contents), "show" (show all variables in the scope), "step" (step through
|
|
|
870 |
execution), "pwd" (print working directory), "next" (step over) and "finish"
|
|
|
871 |
(step out) commands for the remote debugger. (Derick)
|
|
|
872 |
= Fixed lots of small bugs, under them memory leaks and crash bugs. (Derick)
|
|
|
873 |
= Parameters to functions are no longer recorded by default; use the
|
|
|
874 |
xdebug.collect_params=1 setting in php.ini to turn it on again.
|
|
|
875 |
|
|
|
876 |
|
|
|
877 |
Tue Oct 29, 2002 - xdebug 1.1.0pre2
|
|
|
878 |
|
|
|
879 |
+ Implemented class::method, object->method and file.ext:line style
|
|
|
880 |
breakpoints. (Derick)
|
|
|
881 |
= Changed debugger port from 7869 to 17869. (Derick)
|
|
|
882 |
+ Added xdebug.collect_params setting. If this setting is on (the default)
|
|
|
883 |
then Xdebug collects all parameters passed to functions, otherwise they
|
|
|
884 |
are not collected at all. (Derick)
|
|
|
885 |
+ Implemented correct handling of include/require and eval. (Derick)
|
|
|
886 |
|
|
|
887 |
|
|
|
888 |
Mon Oct 22, 2002 - xdebug 1.1.0pre1
|
|
|
889 |
|
|
|
890 |
+ Added automatic starting of function traces (xdebug.auto_trace, defaulting to
|
|
|
891 |
"off"). (Derick)
|
|
|
892 |
- Xdebug no longer supports PHP versions below PHP 4.3.0pre1. (Derick)
|
|
|
893 |
+ Added gdb compatible debugger handler with support for simple (function only)
|
|
|
894 |
breakpoints. (Derick)
|
|
|
895 |
= Implemented a new way to get class names and file names. (Derick, Thies C.
|
|
|
896 |
Arntzen <thies@thieso.net>)
|
|
|
897 |
+ Added time-index and memory footprint to CLI dumps. (Derick)
|
|
|
898 |
+ Implemented remote debugger handler abstraction. (Derick)
|
|
|
899 |
+ Added a php3 compatible debugger handler. (Derick)
|
|
|
900 |
|
|
|
901 |
|
|
|
902 |
Sun Sep 1, 2002 - xdebug 1.0.0rc1
|
|
|
903 |
|
|
|
904 |
+ Implemented gathering of parameters to internal functions (only available
|
|
|
905 |
in combination with PHP 4.3.0-dev). (Derick)
|
|
|
906 |
= Implemented a new way to get class names and file names. (Derick, Thies C.
|
|
|
907 |
Arntzen <thies@thieso.net>)
|
|
|
908 |
+ Added support for error messages with stack trace in syslog. (Sergio
|
|
|
909 |
Ballestrero <s.ballestrero@planetweb.it>)
|
|
|
910 |
= Windows compilation fixes. (Derick)
|
|
|
911 |
|
|
|
912 |
|
|
|
913 |
Sun Jun 23, 2002 - xdebug 0.9.0
|
|
|
914 |
|
|
|
915 |
= Fixed a problem with output buffering in PHP. (Derick)
|
|
|
916 |
= Fixed a memory leak in delayed included files. (Derick)
|
|
|
917 |
+ Added support for PHP 4.1.2. (Derick)
|
|
|
918 |
= Rewrote xdebug_get_function_stack() and xdebug_get_function_trace() to return
|
|
|
919 |
data in multidimensional arrays. (Derick)
|
|
|
920 |
= Fixed compiling without memory limit enabled (Sander Roobol, Derick)
|
|
|
921 |
+ Add support for classnames, variable include files and variable
|
|
|
922 |
function names. (Derick)
|
|
|
923 |
+ Implemented links to the PHP Manual in traces. (Derick)
|
|
|
924 |
+ Added timestamps and memory usage to function traces. (Derick)
|
|
|
925 |
= Fixed crash when using an user defined session handler. (Derick)
|
|
|
926 |
+ Implemented variable function names ($a = 'foo'; $f();) for use in
|
|
|
927 |
traces. (Derick)
|
|
|
928 |
|
|
|
929 |
|
|
|
930 |
Sun May 26, 2002 - xdebug 0.8.0 - Yoda
|
|
|
931 |
|
|
|
932 |
+ Implemented much better parameter tracing for user defined
|
|
|
933 |
functions. (Derick)
|
|
|
934 |
= Renamed xdebug_get_function_trace() to xdebug_dump_function_trace().
|
|
|
935 |
(Derick)
|
|
|
936 |
= Implemented new xdebug_get_function_trace() to return the function trace in
|
|
|
937 |
an array. (Derick)
|
|
|
938 |
+ Added a parameter to xdebug_start_trace(). When this parameter is used,
|
|
|
939 |
xdebug will dump a function trace to the filename which this parameter
|
|
|
940 |
speficies. (Derick)
|
|
|
941 |
+ Fix a problem with nested member functions. (Derick)
|
|
|
942 |
= Make configure scripts work with PHP 4.2.x. (Derick)
|
|
|
943 |
+ Implemented handling single-dimensional constant arrays passed to a
|
|
|
944 |
function. (Derick)
|
|
|
945 |
= Fix function traces in windows. (Derick)
|
|
|
946 |
+ Implemented function traces, which you can start and stop with
|
|
|
947 |
xdebug_start_trace() and xdebug_stop_trace(). You can view the trace by using
|
|
|
948 |
the return array from xdebug_get_function_trace(). (Derick)
|
|
|
949 |
= Fixed segfaults with xdebug_call_*(). (Derick)
|
|
|
950 |
|
|
|
951 |
|
|
|
952 |
Wed May 08, 2002 - xdebug 0.7.0 - Freedom
|
|
|
953 |
|
|
|
954 |
+ Implemented handling of static method calls (foo::bar). (Derick)
|
|
|
955 |
+ Added correct handling of include(_once)/require(_once) and eval().
|
|
|
956 |
(Derick)
|
|
|
957 |
+ Added ini setting to change the default setting for enabling showing
|
|
|
958 |
enhanced error messages. (Defaults to "On"). (Derick)
|
|
|
959 |
+ Added the functions xdebug_enable() and xdebug_disable() to change the
|
|
|
960 |
showing of stack traces from within your code. (Derick)
|
|
|
961 |
= Fixed the extension to show all errors. (Derick)
|
|
|
962 |
+ Implemented xdebug_memory_usage() which returns the memory in use by PHPs
|
|
|
963 |
engine. (Derick)
|
|
|
964 |
|
|
|
965 |
|
|
|
966 |
Legenda:
|
|
|
967 |
+ New additions
|
|
|
968 |
- Removed functions
|
|
|
969 |
= Bug fixes / Changes
|