Hi,
I wonder if anyone's developing with Phalcon in PHPEd & dbg debugger module?
I'm experiencing terrible problems with it - constant segfaults and so on..
|
May '14 |
6 |
704 |
0 |
There are multiple combinations of version of PHP, Phalcon and DBG that fail. And there are some that work.
For example, PHPEd v12 with latest 1.3.2 with 5.5.11 crashes my debug sessions.
However, debugger seems to be fine with a mid-January commit on 1.3.0 branch with PHP 5.5.1.
It's really hard to pinpoint & reproduce as simple "hello world" type of scripts work fine.
For example, PHPEd v12 with latest 1.3.2 with 5.5.11 crashes my debug sessions.
However, debugger seems to be fine with a mid-January commit on 1.3.0 branch with PHP 5.5.1.
OK, I'll keep you posted if I see it -- I am a longtime PhpEd and of late a Phalcon user, but I haven't actually opened a DBG session with Phalcon loading at the same time, I don't think.
I'm also on PHP 5.4 x64 and PhpEd 7 still, so may be hard to repro.
-- S.
Please let me know if you upgrade to PHP 5.5. Maybe you'll be able to help me figure it out..
Actually, can we test your PHPEd with DBG module installed on my server?
Thanks, Temuri
Ha, this is interesting, it doesn;t work now. I think there is a general problem in Phalcon 1.3.x with session adapters. I already reported an issue with it last week here https://github.com/phalcon/cphalcon/issues/2398 , and what we are seeing here is just another side of the same bug.
Debugging works like a charm except for when I try to create a session adapter. The following code is all i need to crash the debugger:
<?php
$session = new Phalcon\Session\Adapter\Files();
$session->start();
var_dump($session->getOptions());
?>
Try this:
That fixes session and PHPEd 13/dbg 6.2.8 works fine.
Let me know if that works for you too.