View Issue Details

IDProjectCategoryView StatusLast Update
0001265XdebugUncategorizedpublic2016-12-04 15:19
Reporterexx8 Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionunable to reproduce 
PlatformWAMPOSwindowsOS Version10
Product Version2.4.0rc4 
Summary0001265: xdebug crashes after ::__set_state();
Description

It seems that xdebug crashes after stdClass::__set_state(); and won't let you keep monitoring the break points.
Though in the example it's shown only with stdClass, it's true to every class in php

Additional Information

example:
stdClass::__set_state();//after this line you won't be able to have a break point that actually stops the code
stdClass::__set_state();

TagsNo tags attached.
Operating System
PHP Version5.5.10-5.5.14

Activities

derick

2016-02-08 19:02

administrator   ~0003446

Please refer to https://xdebug.org/support.php#remote for information on how to submit bugs related to remote debugging. This URL explains which information I require to debug this.

exx8

2016-02-09 18:11

reporter   ~0003470

I added logs, here is the script:
<?php
class A{}
$b=A::__set_state();
var_dump($b);

break points were added along the code.

derick

2016-02-09 18:30

administrator   ~0003471

Thanks for that!

The logs don't show the setting of any breakpoints, or stepping through code at all. Do you actually step through the code with your IDE?

When I run the code without any extensions loaded, all I am getting is the following:

Fatal error: Call to undefined method A::__set_state() in - on line 3

Which makes sense, as the A class does not have __set_state() defined.

The logs do however show that you are using PHP version 5.5.0-dev, which sounds like a pre-release version of something.

derick

2016-02-27 15:59

administrator   ~0003526

Ping?

derick

2016-12-04 15:19

administrator   ~0003901

Can't reproduce, and the requested information was not supplied. Please reopen this issue if the problem persists.