Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging in pydev - how to make python objects expandable - as in java debugger?

Especially standard types like dictionaries and lists - e.g. imagine you have dictionary of dictionaries of lists - then when you go over some variable (in debug) - the debugger will show it as static object.toString() representation instead of expandable (clickable) java or c++ debugger representations. This feature seems to me pretty essential is there a way how to enable it in PyDev - or is there some other IDE with whatever plugins that has this feature ?

like image 999
user1056255 Avatar asked Dec 04 '25 07:12

user1056255


2 Answers

In PyDev Variables view supports expandable objects. Expressions View doesn't.

There is already feature request for this http://sourceforge.net/tracker/index.php?func=detail&aid=2947729&group_id=85796&atid=577332

like image 127
koxt Avatar answered Dec 05 '25 22:12

koxt


Grab the latest release (PyDev 2.2.4) where this should be fixed.

Also, it might be worth nothing that in PyDev, the console may be used to gather information on objects in a debug session ( see: http://pydev.org/manual_adv_debug_console.html )

like image 38
Fabio Zadrozny Avatar answered Dec 06 '25 00:12

Fabio Zadrozny



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!