[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: Xdebug, view full variable content

hertzel wrote:
HI when running the debugger, all of the variable contents are truncated how can I set this to no limit?, to actually see the whole thing?

There isn't an option to set "no limit" but you can increase the limit within the XDebug config. Within Eclipse go to Window -> Preferences -> PHP -> Debug -> Installed Debuggers. Highlight XDebug and click "Configure". Within the window that pops up you can see the array depth and the max children. Setting those values higher will give you more data back about your variables.


If you are needing information on a specific element within a variable array then it is sometimes better to watch that specific element without trying to get the whole array. If you go to Window -> Show View -> Expressions you can see your watched expressions. Then you can add an expression there or within your code you can highlight the variable call and right click -> watch to add it to your watched expressions.

--
Shawn Clark