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

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • 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

  • Senior Community Member
  • Posts: 3955
  • Hero Points: 515
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 »