xdebug - Debugger error stops debug when watching a new variable [message #888578] |
Mon, 18 June 2012 10:06 |
Spacesoul blop Messages: 9 Registered: April 2012 |
Junior Member |
|
|
Hello, I have been trying to figure this out but didnt find a solution.
Problem:
I am debugging with Eclipse PDT and xdebug and sometimes trying to see a variable value while debugging crashes the debug session with the message: "Unexpected termination of script, debugging ended."
Crash:
It crashes once the variable has value, and If I go to the watch window or if I point my cursor over the variable to see their value.
I have been able to get the value of the variable which crashes the debug session:
The variable is an array of arrays, and its a fetch result from a SQL INSERT sentence, var_dump():
array(1)
{
[0] => array(2)
{
'COLUMN_NAME' => string(7) "sname"
'CONSTRAINT_NAME' => string(22) "index_tabletest_idx"
}
}
class PDOStatement#153 (1)
{
public $queryString => string(91) "INSERT INTO tabletest(sname) VALUES('TEST') ON DUPLICATE KEY UPDATE sname='TEST';"
}
(the SQL sentence is correct and works perfectly executing it directly to the mysql database).
Tests:
Made the following but it still crashes:
- Cleared all the watches variables and breakpoints.
- Closed non used Eclipse debug panels (console, debug output, variable, progress).
- Closed Eclipse, reboot computer.
- Cleared temp files, ccleaner, atfcleaner..
System info:
- Windows 2003 32 bits, 2GB RAM.
- php 5.4.0 TS,VC9.
- Xdebug v2.2.0 stable release.
- Apache 2.2.22
- Eclipse PHP - PDT 3.0.2
It happens with more variables, and I cant see their value unless I print a var_dump of it, any help is really welcome, thanks
[Updated on: Mon, 18 June 2012 10:08] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06548 seconds