3 ms·
To add to that, I always add some kind of debug function wrapper so I can hand off the state of variables and program flow to the LLM when I need to debug somet
by bongodongobob 2y ago
To add to that, I always add some kind of debug function wrapper so I can hand off the state of variables and program flow to the LLM when I need to debug something. Sometimes it's really hard to explain exactly what went wrong so being able to give it a chunk of the program state is more descriptive.
- throwup238 2y agoI do the same for my QT desktop app. I’ve got an “Inspector” singleton that allows me to select a component tree via click, similar to browser devtools. It takes a screenshot, dumps the QML source, and serializes the state of the components into the clipboard. I paste that into Claude and it is surprisingly good at fixing bugs and making visual modifications.
- acrophiliac 2y agoThat sounds cool. I could use that. Care to share your Inspector code?
- rubymamis 2y agoSounds awesome. I would love to hear more about this. Any chance you can share this or at least more details?