View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000469 | Xdebug | Uncategorized | public | 2009-09-04 23:56 | 2009-10-05 00:50 |
Reporter | dredies | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.0.0dev | ||||
Summary | 0000469: xdebug 2.0.5 with php 5.3 - context_get for function variables always appear as "unitialized" - Mac OS X 10.6 (Snow Leopard) | ||||
Description | Just upgraded to Mac OS X 10.6 (Snow Leopard) and now when I try to debug a php page the variables always appear as "unitialized" once you step into a function. | ||||
Tags | No tags attached. | ||||
Operating System | Mac OS X 10.6 (Snow Leopard) | ||||
PHP Version | 5.3.0 | ||||
|
This has been fixed in the CVS version already. |
|
Now you don't see this problem in functions anymore, but now you see this problem if you assign values to variables in an external file, then include that file and the variables defined in the external file will now show as "unitialized" |
|
Can you please then provide:
|
|
I also have this problem with OS X 10.5, PHP 5.3.0 and Komodo 5.2 beta. Although I've just checked out from CVS, the problem persists in this bug's initial manner. The following code results in "uninitialized" $x and $y INSIDE the function: <?php function foo() { foo(); ?> xdebug-log: P.S: It would be really nice to have permissions to attach files here :-P |
|
Confirming the problem with OS X 10.6, Apache 2.2.11, PHP 5.3. The variables pane in Eclipse always shows as uninitialized but if explicitly create a "watch expression", I can see the values. Here's a screen shot: http://cesaric.com/wp-content/uploads/2009/09/xdebug.jpg I compiled 2.0.5 from CVS with same results. Also tried 2.1 and had other errors (child count error...) in addition to still not seeing the variables. Any suggestions? Tried changing around settings like xdebug.show_local_vars with no luck. Also, have the exact same Apache/xdebug/php version on Windows XP and works just fine. |
|
Any solutions for this issue? |
|
Same problem here with NetBeans (6.7.1 and nightly from 20090915) and Komodo 5.2.0 on Snow Leopard with default php 5.3.0 and xdebug 2.0.5. I used StephenKing's code and have put up a remote log here: http://pastebin.com/m71988e29 |
|
I've now tried with 2_0 cvs and the issue remains. |
|
I can also confirm this problem, at least on Snow Leopard, with PHP 5.3.0 and XDebug 2.0.5. Notice that if you add a watch expression that evals the variable content, you can see its value. |
|
This is now fixed in CVS (HEAD only). |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-09-04 23:56 | dredies | New Issue | |
2009-09-04 23:56 | dredies | Operating System | => Mac OS X 10.6 (Snow Leopard) |
2009-09-04 23:56 | dredies | PHP Version | => 5.3.0 |
2009-09-04 23:56 | dredies | Xdebug Version | => 2.0.5 |
2009-09-06 23:01 | derick | Note Added: 0001064 | |
2009-09-06 23:01 | derick | Status | new => closed |
2009-09-06 23:01 | derick | Resolution | open => fixed |
2009-09-09 09:00 | dredies | Note Added: 0001066 | |
2009-09-09 09:00 | dredies | Status | closed => feedback |
2009-09-09 09:00 | dredies | Resolution | fixed => reopened |
2009-09-09 10:48 | derick | Note Added: 0001067 | |
2009-09-11 14:00 | StephenKing | Note Added: 0001068 | |
2009-09-11 14:01 | StephenKing | Note Edited: 0001068 | |
2009-09-12 17:44 | cesaric | Note Added: 0001070 | |
2009-09-12 17:55 | cesaric | Note Edited: 0001070 | |
2009-09-13 20:42 | htaufik | Note Added: 0001072 | |
2009-09-18 23:11 | otto | Note Added: 0001076 | |
2009-09-18 23:11 | otto | Note Edited: 0001076 | |
2009-09-25 07:47 | otto | Note Added: 0001077 | |
2009-10-03 02:06 | tanob | Note Added: 0001079 | |
2009-10-05 00:50 | derick | Note Added: 0001081 | |
2009-10-05 00:50 | derick | Status | feedback => closed |
2009-10-05 00:50 | derick | Resolution | reopened => fixed |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |