MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000029XdebugUsage problems (Wrong Results)public2003-11-14 00:442003-12-01 15:15
Reporterquinxy 
Assigned Toderick 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionunable to reproduce 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000029: the params info returned from xdebug_get_function_trace() is incomplete
DescriptionThe structure returned by a call to xdebug_get_function_trace() is returning only the last parameter in each function call, in the example I provide, the print_r() of the xdebug_get_function_trace() shows only the parameter "t3" in the call to test(). This is obviously not correct.
Additional Information<?php
xdebug_start_trace();


function test($t1,$t2,$t3) {
}

test("t1","t2","t3");

print_r(xdebug_get_function_trace());
?>
TagsNo tags attached.
Operating SystemRedhat 7.3
PHP Version4.3.2
Attached Files

- Relationships

-  Notes
(0000060)
derick (administrator)
2003-11-19 17:11

Which Xdebug version do you use? This works for me, but I have to set xdebug.collect_params=1 in php.ini. Can you also give me the php.ini settings for xdebug that you have?

Derick
(0000061)
quinxy (reporter)
2003-11-19 18:41

i tried it with xdebug.collect_params in php.ini and the error still occcurred. as for version, it was the version i said in the ticket. as for the php.ini options, nothing to see.

all i had in it was the line to load the shared library.

at different times i did put in the lines to automatically do it for every page/etc. but I had the same results. you're saying that even if you turned off those in php.ini you couldn't reproduce the problem?

anyway... it's no longer critical for me. i wrote a wrapper for your dump html version, and i just regular expression through that to get the valid data.
(0000062)
derick (administrator)
2003-11-20 11:13

Right, I can't reproduce this at all. How exactly did you load Xdebug from php.ini?
(0000065)
derick (administrator)
2003-11-24 10:11

Reminder sent to quinxy

Hello,

can you please tell me how you load Xdebug in your php.ini file?

regards,
Derick
(0000066)
derick (administrator)
2003-12-01 15:15

Can not reproduce this at all...

- Issue History
Date Modified Username Field Change
2003-11-14 00:44 quinxy New Issue
2003-11-19 17:11 derick Note Added: 0000060
2003-11-19 17:11 derick Status new => feedback
2003-11-19 18:41 quinxy Note Added: 0000061
2003-11-20 11:13 derick Note Added: 0000062
2003-11-24 10:11 derick Note Added: 0000065
2003-12-01 15:15 derick Status feedback => resolved
2003-12-01 15:15 derick Resolution open => unable to reproduce
2003-12-01 15:15 derick Assigned To => derick
2003-12-01 15:15 derick Note Added: 0000066
2016-07-31 13:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 13:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker