View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000209 | Xdebug | Usage problems (Wrong Results) | public | 2006-10-18 06:00 | 2006-10-19 10:19 |
Reporter | padraig | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | open | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000209: Additional remote debugging session started when triggering shutdown function | ||||
Description | I find that XDebug breaks inside my user-defined function that I registered using register_shutdown_function() Here is what happens (PHP code in 'additional information') 1. I verify there are no breakpoints set 2. I start debugging callFunction.php e.g. http://mysite.com/callFunction.php?XDEBUG_SESSION_START=mySess 3. I get the first <init> message <init fileuri="...callFunction.php> ...elements...</init> 4. I hit 'detach' - this is sent : 'detach -i 34' 5. I get another <init> message (right after the detach command) <init fileuri="...callFunctionInclude.php>> ...elements...<init> 6. The debugger breaks inside my function defined for register_shutdown_function 7. I hit 'detach' again 8. The remote debugging session ends | ||||
Additional Information | XDebug version : 2.0.0rc1-dev Experiment Code (2 files): callFunction.php: include("callFunctionInclude.php"); echo "test"; callFunctionInclude.php: <?php function myFunction() { $counter = 1 + 2; } register_shutdown_function('myFunction'); ?> | ||||
Tags | No tags attached. | ||||
Operating System | Windows XP SP2 | ||||
PHP Version | 5.1.6 | ||||
|
Oops... I meant callFunction.php: <?php include("callFunctionInclude.php"); echo "test"; ?> callFunctionInclude.php: <?php function myFunction() { $counter = 1 + 2; } register_shutdown_function('myFunction'); ?> |
|
I can not reproduce this (on Linux). Which remote debug client are you using? |
|
Fixed in CVS. |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-10-18 06:00 | padraig | New Issue | |
2006-10-18 06:01 | padraig | Note Added: 0000472 | |
2006-10-19 00:10 | derick | Note Added: 0000479 | |
2006-10-19 00:10 | derick | Status | new => feedback |
2006-10-19 10:19 | derick | Status | feedback => closed |
2006-10-19 10:19 | derick | Note Added: 0000480 | |
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) |