Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » XDebug - PDT error "child count update"(PHP debugging - get error, then can't see any variables)
XDebug - PDT error "child count update" [message #630283] Fri, 01 October 2010 12:20 Go to next message
No real name is currently offline No real nameFriend
Messages: 4
Registered: September 2010
Junior Member
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 #630301 is a reply to message #630283] Fri, 01 October 2010 13:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dkel50.hotremovemail.com

Your build ID indicates you are using PDT 2.1, not PDT 2.2. This problem
only occurs when using xdebug 2.1 and PDT 2.1. I think it should be
fixed in PDT 2.1.2 and PDT 2.2 releases

Dave

On 01/10/2010 13:20, mjd@telensa.com wrote:
> 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.DBGpSt ringValue. <init>(DBGpStringValue.java:39)
>
> at
> org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVa riable.parseProperty(DBGpVariable.java:75)
>
> at
> org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVa riable. <init>(DBGpVariable.java:44)
>
> at
> org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpCo ntainerValue.parseData(DBGpContainerValue.java:97)
>
> at
> org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpCo ntainerValue. <init>(DBGpContainerValue.java:37)
>
> at
> org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpCo ntainerVariable. <init>(DBGpContainerVariable.java:33)
>
> at
> org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpCo ntainerValue.parseData(DBGpContainerValue.java:118)
>
> at
> org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpCo ntainerValue. <init>(DBGpContainerValue.java:37)
>
> at
> org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVa riable.parseProperty(DBGpVariable.java:83)
>
> at
> org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVa riable. <init>(DBGpVariable.java:44)
>
> at
> org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpTa rget.parseVarResp(DBGpTarget.java:1210)
>
> at
> org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpTa rget.getContextLocalVars(DBGpTarget.java:1123)
>
> at
> org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpTa rget.getContextAtLevel(DBGpTarget.java:1177)
>
> at
> org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpTa rget.getVariables(DBGpTarget.java:1158)
>
> at
> org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpSt ackFrame.getVariables(DBGpStackFrame.java:148)
>
> at
> org.eclipse.debug.internal.ui.model.elements.StackFrameConte ntProvider.getAllChildren(StackFrameContentProvider.java:51)
>
> at
> org.eclipse.debug.internal.ui.model.elements.StackFrameConte ntProvider.getChildCount(StackFrameContentProvider.java:28)
>
> at
> org.eclipse.debug.internal.ui.model.elements.ElementContentP rovider.retrieveChildCount(ElementContentProvider.java:114)
>
> at
> org.eclipse.debug.internal.ui.model.elements.ElementContentP rovider$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 09:19 Go to previous message
No real name is currently offline No real nameFriend
Messages: 4
Registered: September 2010
Junior Member
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
Previous Topic:Tying $foo->bar goes into hyperspace
Next Topic:Eclipse and mootools
Goto Forum:
  


Current Time: Sat Apr 20 00:46:14 GMT 2024

Powered by FUDForum. Page generated in 0.03322 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top