Hi all,
I do have a problem when debugging my Yii 1.1.15 application within Eclipse (4.4) PDT (3.3) with xdebug (2.2.5).
The Yii framework exits with an uncaught exception if I watch expressions in the Eclipse PDT debugger when this expression doesn’t exist in the local context.
Example:
function foo() {
$bar = 0;
}
function bar() {
$foo = 0;
}
foo();
bar();
The debugger is in function foo(). I’m watching the expression $bar. Everything is okay. If I step further in the code, reaching the function bar(). The variable $bar isn’t set/defined in this context and I get this message (translated):
Is it possible to ignore the Eclipse PDT expressions in the Exception handling of the framework? I already tried with
define('YII_ENABLE_EXCEPTION_HANDLER', false);
But that didn’t change anything.
Regards
Oliver