View Issue Details

IDProjectCategoryView StatusLast Update
0001086XdebugUncategorizedpublic2015-02-06 23:31
Reporterdeeped Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
PlatformPhp XdebugOSWindowsOS Version7
Product Version2.2.5 
Summary0001086: xdebug_get_code_coverage() returns more sources even it has just started
Description

Im in the middle of a framework, so its not a plain php script. This is all I got:

xdebug_start_code_coverage (XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE);
xdebug_stop_code_coverage(true);
xdebug_start_code_coverage (XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE);
xdebug_stop_code_coverage(true);
xdebug_start_code_coverage (XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE);
xdebug_stop_code_coverage(true);
var_dump (xdebug_get_code_coverage());

interestingly, it outputs that other scripts had also run. I thought it reports lines between xdebug_start_code_coverage() and xdebug_stop_code_coverage()

TagsNo tags attached.
Operating System
PHP Version5.5.5-5.5.9

Activities

deeped

2014-11-16 12:24

reporter   ~0002912

nevermind, I delete this ticket, I will post another with better explanation

derick

2014-11-27 20:56

administrator   ~0002917

I can't reproduce that with a simple script, so I am going to need a reproducible case from you I'm afraid.

derick

2015-01-07 15:59

administrator   ~0002964

I can't reproduce this, and no feedback was received. Please reopen if this is still an issue with 2.2.6.

deeped

2015-01-07 17:01

reporter   ~0002965

I already said nevermind this topic, I posted another with better explanation

derick

2015-02-06 23:31

administrator   ~0002980

Oh - I missed that. Sorry. Closing this one then.