thecocce / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Watch window doesn't always show full value #359

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the watch window, if the value of a string is very long you get a value
displayed with '.....' inside, even if the watch window is much wider than
the string.  

This threw me for a huge loop when I was appending two long strings
together and didn't look close enough - judging just by the length it
looked as though they weren't appending properly.  

This "feature" should be something that can be disabled, preferably by
default.  

Ideally the watch window would show the full value in the grid view with a
scroll bar and could even have a word-wrapped hover.

Original issue reported on code.google.com by bes...@gmail.com on 25 Mar 2010 at 6:26

GoogleCodeExporter commented 9 years ago
Python variables (strings, list, dictionaries)may contain millions of 
characters/values.  Showing the full value in the Watches and Variables Window 
would slow down things and even crash PyScripter.

PyScripter is using the repr module with the following parameters

        pyrepr = repr.Repr()
        pyrepr.maxstring = 80
        pyrepr.maxother = 80

I accept that 80 is rather low and I have increased it to 200.  But I am not 
providing an option to customize that at this time.

Original comment by pyscripter on 11 Aug 2010 at 9:31

GoogleCodeExporter commented 9 years ago
You can always use the interpreter window to see the full value

Original comment by pyscripter on 12 Aug 2010 at 9:47

GoogleCodeExporter commented 9 years ago
Issue 352 has been merged into this issue.

Original comment by pyscripter on 12 Aug 2010 at 9:48