Dragut Alexandru
Dragut Alexandru

Reputation: 25

Value from Variable View on Pydev is not complete

I tried to debug a python module, I saw in the Variables view that the value of a variable is not complete. This ends with "...". I think this means that the string was truncated.

In the Details pane from Variable view I set to display the Max Length of the variable (0=unlimited) but also in the Details pane the variable ends with "...".

Why the variable don't have the full value?

Upvotes: 0

Views: 173

Answers (1)

Fabio Zadrozny
Fabio Zadrozny

Reputation: 25362

Yes, this means that the string was truncated.

That value is hardcoded in pydevd -- it can be changed manually be editing eclipse/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_comm.py -- MAX_IO_MSG_SIZE in your install.

Now, usually this isn't a real problem because it's possible to just use the console during the debug session and print the variable in the console to view its full values (see: http://www.pydev.org/manual_adv_debugger.html -- search for console evaluation there).

Upvotes: 1

Related Questions