Author Topic: Python debugger, Locals, types  (Read 1169 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2587
  • Hero Points: 209
  • Text
Python debugger, Locals, types
« on: January 13, 2022, 07:20:27 pm »
The Locals tool should show the variable type.
Currently it has "Name" and "Value".
Sometimes "Value" shows the type, like "dict".
For basic types (string, int, etc) it shows the value.

I'd like a "Type" column that always shows the type.

Also, Value could show the value of a list or dict -- for small lists and dicts the contents could show as a single line in Value. (Still support expansion though!)

Oddly enough, the type "defaultdict" does show its value in "Value".

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3725
  • Hero Points: 490
Re: Python debugger, Locals, types
« Reply #1 on: January 14, 2022, 02:32:37 pm »
There is a "Type" column, I'll file a feature request to add support for it for Python.
« Last Edit: January 14, 2022, 02:40:55 pm by Dennis »