The following NEW bug has been ADDED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000226
======================================================================
Reporter: jeroen
Handler:
======================================================================
Project: Xdebug
Bug ID: 226
Category: Usage problems
Reproducibility: always
Severity: major
Priority: normal
Status: new
Operating System: Windows XP
PHP Version: 5.2.0
Xdebug Version: 2.0.0rc1
======================================================================
Date Submitted: 2006-12-11 11:57 CET
Last Modified: 2006-12-11 11:57 CET
======================================================================
Summary: Xdebug2 doesn't show memory (or memory delta)
Description:
Description:
------------
Xdebug doesn't show correct memory in trace file (maybe this has something
to do with the new memory management of PHP 5.2.0?)
Reproduce code:
---------------
I'm running PHP from command line
php -e -c "PHP_PATH/php.ini" -d error_reporting="E_ALL | E_STRICT" -d
zend_extension_ts="PATH/TO/php_xdebug-2.0.0rc1-5.2.0.dll" -d
xdebug.auto_trace=1 -d xdebug.trace_output_dir="SOME_PATH\tmp\trace" -d
xdebug.show_mem_delta=1 -d xdebug.trace_format=0 some_script.php
Expected result:
----------------
I expected to see a different number where it says "0" (memory usage) and
"+0" (memory delta). These numbers are the same troughout the script. It's
not very likely a script doesn't use any memory ;-)
Actual result:
--------------
These are the first 10 lines from the trace file:
TRACE START [2006-12-11 10:41:26]
0.0008 0 +0 -> {main}()
D:\server\www\sobe-1.2\Test\AdvProfiler\xdebug\script\ProfileTest.php:0
0.0010 0 +0 -> test_function()
D:\server\www\sobe-1.2\Test\AdvProfiler\xdebug\script\ProfileTest.php:25
0.0011 0 +0 -> trim()
D:\server\www\sobe-1.2\Test\AdvProfiler\xdebug\script\ProfileTest.php:8
0.0012 0 +0 -> round()
D:\server\www\sobe-1.2\Test\AdvProfiler\xdebug\script\ProfileTest.php:8
0.0013 0 +0 -> TestClass->__construct()
D:\server\www\sobe-1.2\Test\AdvProfiler\xdebug\script\ProfileTest.php:26
0.0016 0 +0 -> TestClass->DoSomething()
D:\server\www\sobe-1.2\Test\AdvProfiler\xdebug\script\ProfileTest.php:27
0.0016 0 +0 -> rand()
D:\server\www\sobe-1.2\Test\AdvProfiler\xdebug\script\ProfileTest.php:19
0.0017 0 +0 -> array_flip()
D:\server\www\sobe-1.2\Test\AdvProfiler\xdebug\script\ProfileTest.php:20
0.0018 0 +0 -> test_function()
D:\server\www\sobe-1.2\Test\AdvProfiler\xdebug\script\ProfileTest.php:25
0.0018 0 +0 -> trim()
D:\server\www\sobe-1.2\Test\AdvProfiler\xdebug\script\ProfileTest.php:8
======================================================================
Bug History
Date Modified Username Field Change
======================================================================
2006-12-11 11:57jeroen New Bug
2006-12-11 11:57jeroen Bug Monitored: jeroen
======================================================================
Received on Mon Dec 11 2006 - 11:57:47 GMT
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST