View Issue Details

IDProjectCategoryView StatusLast Update
0000831XdebugUncategorizedpublic2012-05-28 12:05
Reporterrulatir Assigned Toderick  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformPHP 5.4.3, Apache 2.2.22OSLinuxOS Version3.3.5
Product Version2.2.0 
Target Version2.2.1Fixed in Version2.2.1 
Summary0000831: Debugging terminates in Eclipse when viewing variables (0000797, contd)
Description

I am still experiencing the symptom detailed in bug 0000797, which was apparently prematurely closed as fixed.

Steps To Reproduce

Set a breakpoint
Run script, XDebug stops at the breakpoint
Select 'Variables' tab in Eclipse (or similar in other IDEs?)
'Unexpected termination of script, debugging ended.'

Additional Information

NOTE WELL ABOUT THE PHP VERSION!!! It's 5.4.3, not 5.4.2. There was no 5.4.3 option in the PHP Version select - please update the options!

TagsNo tags attached.
Attached Files
sample.php (358 bytes)   
<?php
class foo
{
    public $returnUrl
    , $required = array()
    , $optional = array()
    , $verify_peer = null
    , $capath = null
    , $cainfo = null
    , $data;

    static protected $ax_to_sreg = array(
        'namePerson/friendly'     => 'nickname',
        'contact/email'           => 'email',
    );
}
$instance = new foo;
exit;
sample.php (358 bytes)   
Operating SystemLinux
PHP Version5.4.2

Activities

rulatir

2012-05-11 06:51

reporter   ~0002141

The reporter of issue 830 beat me to it! I swear it didn't show in search results...

derick

2012-05-13 21:50

administrator   ~0002148

Hi,

In order to reproduce and fix this, I'd need the following information:

  • A short and self-contained script that reproduces the issue while debugging
  • A debugging log, which you can make with setting xdebug.remote_log=/tmp/xdebug.log

cheers,
Derick

rulatir

2012-05-14 23:22

reporter   ~0002151

Consider this a duplicate of 830.

derick

2012-05-15 09:41

administrator   ~0002152

I know it's a duplicate, but as long as the author in 0000830 doesn't provide useful information, your help would matter greatly!

derick

2012-05-28 08:27

administrator   ~0002204

I think I've just pushed a fix to github for this issue. Could you please try it?

rulatir

2012-05-28 09:23

reporter   ~0002206

Last edited: 2012-05-28 09:23

Appears to work now! My minimal testcase above - no crash, and speller's testcase with original openid.php works too. I will now stress-test it on my wordpress plugin, but I am optimistic. Thanks!

Did you manage to reproduce it after all? What was the cause (if not too involved to explain)? Will you release a hotfix if others confirm it's fixed?

derick

2012-05-28 12:05

administrator   ~0002209

I couldn't reproduce it for your specific case still. But it had to do by not checking whether every property was static when trying to read it.

Issue History

Date Modified Username Field Change
2012-05-11 06:49 rulatir New Issue
2012-05-11 06:51 rulatir Note Added: 0002141
2012-05-13 21:50 derick Note Added: 0002148
2012-05-13 21:50 derick Assigned To => derick
2012-05-13 21:50 derick Status new => feedback
2012-05-14 23:22 rulatir Note Added: 0002151
2012-05-14 23:22 rulatir Status feedback => assigned
2012-05-15 09:41 derick Note Added: 0002152
2012-05-15 09:41 derick Status assigned => feedback
2012-05-15 22:30 derick Target Version => 2.2.1
2012-05-28 00:13 rulatir File Added: sample.php
2012-05-28 08:27 derick Note Added: 0002204
2012-05-28 09:23 rulatir Note Added: 0002206
2012-05-28 09:23 rulatir Status feedback => assigned
2012-05-28 09:23 rulatir Note Edited: 0002206
2012-05-28 12:05 derick Note Added: 0002209
2012-05-28 12:05 derick Status assigned => closed
2012-05-28 12:05 derick Resolution open => fixed
2012-05-28 12:05 derick Fixed in Version => 2.2.1
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