Search code examples
eclipsexdebugeclipse-pdt

Eclipse PDT, XDebug Variable Watch Details only shows 1000 characters


I am debugging using Eclipse PDT with XAMPP

This question is related to this item:

Variables viewer on Eclipse debugging truncates the string values

I am having the same problem as in that link.

I watch a variable and in the Expresssions tab, I can only view about 1000 characters in the "details" window.

If I right click and use 'copy expressions' I get the same 1000 chars.

I have also right clicked the details pane... Max Length and tried setting it to 0 or 30000 (my data is about 20k) and neither changed the max of 1000.

This defeats the whole purpose of me spending 2 days to get Eclipse setup for debugging... If there is no workaround for this, can anyone suggest a PHP debugger that will not have this limitation?

I was going to try the Zend debugger, but saw a video that suggested it uses the same exact Expresssion/Detail pane to show its data... can anyone confirm/deny this?

Thanks!


Solution

  • I tried just about everything imaginable... I believe this is a bug in Eclipse that should be fixed, but anyway, I finally just create a new test case that eliminates me needing to debug a 20k piece of data...