Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000844XdebugUsage problemspublic2012-05-27 21:422012-12-17 19:28
Reporterdinu 
Assigned Toderick 
PrioritynormalSeverityminorReproducibilityalways
StatusfeedbackResolutionopen 
PlatformOSCentOsOS Version6
Product Version2.2.0 
Target VersionFixed in Version 
Summary0000844: xdebug.trace_output_dir does not allow relative paths
DescriptionSetting relative paths doesn't seem to work; setting the same absolute path works; also, it fails where profile_output_dir is the same relative path and it works.
Steps To Reproducexdebug.trace_output_dir=.
xdebug.profiler_output_dir=.
TagsNo tags attached.
Operating System
PHP Version5.3.3
Attached Files

- Relationships

-  Notes
(0002225)
derick (administrator)
2012-06-01 22:31

I've just tested it and it works just fine here. Xdebug doesn't really care which directory you give it, and just (try) to open the file. I think you might not quite know which directory you are actually in. PHP flips between directories sometimes and hence it might use a different directory for "." then you expect it to do. Try using:
    strace -e open php —your args—
to see which files it tries to open if you're trying this on the command line.

Otherwise, try to search for trace.*.xt files:
    find -name trace.\*.xt /
(0002230)
dinu (reporter)
2012-06-02 19:47

No luck with this; the .xt file is not generated in another place (can tell by the execution time), just silently fails. So if I append ?XDEBUG_PROFILE it's ok, if I append ?XDEBUG_TRACE it isn't, with the same path "."

I'll take another crack at this the following days.
(0002242)
derick (administrator)
2012-06-11 17:02

Any luck with this yet? The strace would be really useful here.
(0002296)
derick (administrator)
2012-06-27 22:10

Could you please provide the requested information?
(0002389)
derick (administrator)
2012-12-17 19:28

No information provided and I can't reproduce this. Closing, but feel free to reopen if you can provide the requested information.

- Issue History
Date Modified Username Field Change
2012-05-27 21:42 dinu New Issue
2012-06-01 22:31 derick Note Added: 0002225
2012-06-01 22:31 derick Assigned To => derick
2012-06-01 22:31 derick Status new => feedback
2012-06-02 19:47 dinu Note Added: 0002230
2012-06-02 19:47 dinu Status feedback => assigned
2012-06-11 17:02 derick Note Added: 0002242
2012-06-11 17:02 derick Status assigned => feedback
2012-06-27 22:10 derick Note Added: 0002296
2012-12-17 19:28 derick Note Added: 0002389


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker