Vin
Vin

Reputation: 101

Object inspections in Python 3.4 IDLE debugger on Windows

I am new to Python. I am using the Python IDLE Debugger on Windows. Is there a way to inspect object attributes in the debugger? The debugger only shows object address/type.

A solution I tried was to create global variables and assign object attributes to them. The debugger then shows global variables. This works for mutable types such as list, but for immutable type such as int, it shows the value at assignment only. Is there a way to bind a global name to a global object's int attribute?

Upvotes: 6

Views: 1291

Answers (1)

Vin
Vin

Reputation: 101

To close the loop on this, based on responses received:

  • IDLE debugger does not support object inspection in the pop-up window
  • Thanks Terry Jan Reedy for putting it on list for future potential improvements. The IDLE is a big help to new Python programmers

Upvotes: 4

Related Questions