Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show contents of dictionary type during GDScript debugging #4103

Closed
alandao opened this issue Mar 20, 2016 · 15 comments
Closed

Show contents of dictionary type during GDScript debugging #4103

alandao opened this issue Mar 20, 2016 · 15 comments

Comments

@alandao
Copy link

alandao commented Mar 20, 2016

I use the built in debugger and dictionaries a lot in the editor. It'd save a lot of time if we were able to peek into the dictionary type while inside the debugger in order to see the contents of the dictionary.

@bojidar-bg
Copy link
Contributor

👍 ~ Though it might be even more helpful to support all kinds of object types.... like Nodes and stuff 😄

@Srogozins
Copy link

Coming from Python background, it's annoying to not be able to inspect an object on breakpoint

@kirilledelman
Copy link

+1
Also - being able to drill deeper into object instances too. Without an ability to inspect objects that member variables point to the debugger is only a step above debugging with print statements.

@magpie514
Copy link

I'd love to check dictionaries from the debugger as well.

@Zylann
Copy link
Contributor

Zylann commented Apr 12, 2016

+1
I'm currently debugging an error I don't understand in my game, because I can't see what's inside a dictionary returned by intersect_ray...

@SchismDev
Copy link

+1, seeing key/value pairs in dictionaries as well as even Node IDs for objects while debugging would be extremely helpful and save much time and frustration.

@chanon
Copy link
Contributor

chanon commented Nov 8, 2016

+1 ... this is really important to make the Debugger actually useful. Right now for any "class" object all I see is a useless number.

@anneomcl
Copy link
Contributor

Is there any word on this being added in 3.0? My main issue right now is not being able to examine objects from the debugger. The only thing that's slowing me down at this point.

@mablin7
Copy link
Contributor

mablin7 commented Apr 28, 2017

Working on it! I really dig deep into the script debugger, and the solution is not far. I can make a PR by the end of next week probably.

@mablin7
Copy link
Contributor

mablin7 commented Apr 28, 2017

And while I'm there maybe I'll try to make it display all kinds of objects.
BTW if we want to be able to edit not just see dictionaries, a dictionary editor has to be made, and exporting them is just (a big) step from there :)

@anneomcl
Copy link
Contributor

That's good to hear! For now viewing things would be really helpful :)

@reduz
Copy link
Member

reduz commented Apr 28, 2017 via email

@akien-mga
Copy link
Member

@magyar123 If you're looking into this, you may want to check #8206 which is likely related.

@mablin7
Copy link
Contributor

mablin7 commented Apr 28, 2017

Oh yeah I saw that, that's on my list too

@akien-mga
Copy link
Member

Fixed by #8613.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests