|
|
Choosing A Webhost: |
Bug 0000209: Additional remote debugging session started when triggering sh: msg#00055php.xdebug.devel
The following bug has been CLOSED ====================================================================== http://bugs.xdebug.org/bug_view_page.php?bug_id=0000209 ====================================================================== Reporter: padraig Handler: ====================================================================== Project: Xdebug Bug ID: 209 Category: Usage problems Reproducibility: always Severity: minor Priority: normal Status: closed Operating System: Windows XP SP2 PHP Version: 5.1.6 Xdebug Version: 2.0.0rc1 ====================================================================== Date Submitted: 2006-10-18 06:00 CEST Last Modified: 2006-10-19 10:19 CEST ====================================================================== Summary: 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 ====================================================================== ---------------------------------------------------------------------- padraig - 2006-10-18 06:01 CEST ---------------------------------------------------------------------- Oops... I meant callFunction.php: <?php include("callFunctionInclude.php"); echo "test"; ?> callFunctionInclude.php: <?php function myFunction() { $counter = 1 + 2; } register_shutdown_function('myFunction'); ?> ---------------------------------------------------------------------- derick - 2006-10-19 00:10 CEST ---------------------------------------------------------------------- I can not reproduce this (on Linux). Which remote debug client are you using? ---------------------------------------------------------------------- derick - 2006-10-19 10:19 CEST ---------------------------------------------------------------------- Fixed in CVS. Bug History Date Modified Username Field Change ====================================================================== 2006-10-18 06:00padraig New Bug 2006-10-18 06:00padraig Bug Monitored: padraig 2006-10-18 06:01padraig Bugnote Added: 0000472 2006-10-19 00:10derick Bugnote Added: 0000479 2006-10-19 00:10derick Status new => feedback 2006-10-19 10:19derick Bugnote Added: 0000480 2006-10-19 10:19derick Status feedback => closed ======================================================================
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | xdebug xdebug/xdebug_handler_dbgp.c xdebug/tests/bug00209.inc xdebug/tests/bug00209.phpt shutdown function., Derick Rethans |
|---|---|
| Next by Date: | xdebug xdebug/xdebug.c - Make the remote_log feature work., Derick Rethans |
| Previous by Thread: | Bug 0000209: Additional remote debugging session started when triggering shutdown function, xdebug-dev |
| Next by Thread: | Bug 0000210: Add a way to stop the debug session without having to execute a script, xdebug-dev |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |