XDebug - PDT error "child count update" [message #630283] |
Fri, 01 October 2010 08:20  |
Eclipse User |
|
|
|
Using PDT 2.2.0 ( helios win32 version).
XDebug version 2.1
Hi All.
I've hit a problem with PDT and XDebug when debugging files on a remote server. I'm using the Firefox XDebug extension to initiate debugging.
The debug perspective opens correctly for the php script, but an error occurs when I try and step into the code. (This error is reproduced from the Eclipse error log below.) I then lose all the information in the variables panel. Sometimes this is completely blank, other times the variable names are there but the values are given as "<Uninitialized>".
I can't see any problems in the XDebug log.
Has anyone seen this bug before or know what causes it or how to get around it.
Thanks,
Max
eclipse.buildId=I20090611-1540
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments: -product org.eclipse.epp.package.php.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.php.product
Error
Fri Oct 01 12:59:59 BST 2010
An internal error occurred during: "child count update".
java.lang.NullPointerException
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpStringValue.<init>(DBGpStringValue.java:39)
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVariable.parseProperty(DBGpVariable.java:75)
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVariable.<init>(DBGpVariable.java:44)
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpContainerValue.parseData(DBGpContainerValue.java:97)
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpContainerValue.<init>(DBGpContainerValue.java:37)
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpContainerVariable.<init>(DBGpContainerVariable.java:33)
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpContainerValue.parseData(DBGpContainerValue.java:118)
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpContainerValue.<init>(DBGpContainerValue.java:37)
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVariable.parseProperty(DBGpVariable.java:83)
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVariable.<init>(DBGpVariable.java:44)
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpTarget.parseVarResp(DBGpTarget.java:1210)
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpTarget.getContextLocalVars(DBGpTarget.java:1123)
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpTarget.getContextAtLevel(DBGpTarget.java:1177)
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpTarget.getVariables(DBGpTarget.java:1158)
at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpStackFrame.getVariables(DBGpStackFrame.java:148)
at org.eclipse.debug.internal.ui.model.elements.StackFrameContentProvider.getAllChildren(StackFrameContentProvider.java:51)
at org.eclipse.debug.internal.ui.model.elements.StackFrameContentProvider.getChildCount(StackFrameContentProvider.java:28)
at org.eclipse.debug.internal.ui.model.elements.ElementContentProvider.retrieveChildCount(ElementContentProvider.java:114)
at org.eclipse.debug.internal.ui.model.elements.ElementContentProvider$2.run(ElementContentProvider.java:63)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
|
|
|
|
Re: XDebug - PDT error "child count update" [message #630580 is a reply to message #630301] |
Mon, 04 October 2010 05:19  |
Eclipse User |
|
|
|
Well spotted! How on earth did I manage to re-install the wrong version and not notice. If the pdt download files actually had a version number instead of just a code word that would make life less erorr prone.
I don't get the same error when actually using PDT 2.2.0. If I double check in the "Help->About", this is called Helios 20100617-1415. So, some progress, hopefully I can get these versions working well enough.
Many thanks,
Max
|
|
|
Powered by
FUDForum. Page generated in 0.03578 seconds