I recently reinstalled my web-development applications.
I installed PHP 5.0.2 and DBG 2.11.30 with it's listener.
phpinfo() returns following
Version 2.11.30
Linked as a shared library.
Profiler compiled, enabled
debugger.enable_session_cookie On On
debugger.enabled On On
debugger.fail_silently Off Off
debugger.ignore_nops Off Off
debugger.JIT_enabled Off Off
debugger.JIT_host clienthost clienthost
debugger.JIT_level 3 3
debugger.JIT_port 7869 7869
debugger.profiler_enabled On On
debugger.session_nocache On On
debugger.timeout_seconds 300 300
I use PHP Expert Editor for debug and have following problem:
With some sources debugger just continue running while I told it do only one step. I found one pice of such code. Here it is.
It consits of 2 files as it seems that problem is with __autoload() function
File1: class.rtfParser.php
<?php
final class rtfParser {
private $keywords = array ();
private $state = NULL;
public function __construct () {
$this->keywords = array ();
$this->state = new rtfState ($this);
}
}
function __autoload ($class) {
require_once 'class.' . $class . '.php';
return false;
}
$rtf = new rtfParser ();
echo 'OK!';
?>
|
File2: class.rtfState.php
<?php
final class rtfState {
public function __construct () {
//void
}
}
?>
|
Starting debugger and doing 'step into' all time results in stop debugging after entering into rtfPaser::__construct()
Is this a known problem or problem of PHP Expert Editor's debugger?