4

In Pycharm 2017.3's debugger, when I print a big dictionary for example it is all on one line. I want this dictionary to wrap so I can see more of it. I believe previous versions of PyCharm had this wrapping behaviour. I've looked through the settings and i can only find word wrap for the editor.

5
  • 1
    can you provide your example output? Commented Mar 26, 2018 at 13:36
  • Cannot really show you output. In the debugger console window, long lists and dictionaries will just be on one line that I have to scroll horizontally to see. In previous versions these outputs would be somewhat pretty printed if I recall correctly. Commented Mar 26, 2018 at 14:38
  • Do you mean debugger sub window or debugger console ? Both are different . debugger keeps track of program execution and debugger console shows o/p of current debugger on the go. You can see variables with nice view in variables section of debugger. There you only have to click on arrows to expand. pretty printing while debugging on same code screen would distort the current view . May be thats why then remove it? Commented Mar 26, 2018 at 14:50
  • I mean debugger console. Commented Mar 26, 2018 at 15:00
  • debugger console is just like run window , just switch debugger window you will see variables sub window in the RHS Commented Mar 26, 2018 at 15:12

1 Answer 1

0

For unknown reason or as result of this soft-warp button been removed from PyCharm debugging python console few versions ago. As workaround you need to install ipython. With ipython built-in "pretty printer" you will see something like this: enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

How to install ipython on pycharm ?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.