Breakpoints, Stepping Through, Intelli-sense Iron-Python?
Posted: Fri Aug 29, 2014 1:33 pm
Hi everyone, know I went quiet again for a bit - that's because you were all so insanely awesome that you solved all the problems I'd had and I've been hard at work since. More specifically though I've been doing a bunch of stuff Python-side to implement the kind of game-play I was curious about - slow going with full-time job, but going none-the-less. The ability to console in has helped a bit with debugging (love that I execute commands like in VS's intermediate window.. actually this seems even more powerful in some ways) but...
So I am having two things slowing me down a lot. Not blocking me, just slowing more than with my normal coding practices. Lack of intelli-sense is the biggest one - not having auto-suggestions as I type, not being to click into a python function and then 'back' my way back out of it, not being able to mouse-over to see what a function expects.. just makes for a good bit of back-and-forth clicking, especially with older files or when I have to take a week off.
Not being able to set a breakpoint and then step through code is the other big troubleshooting issue, I end up having to put a lot more debug statements then I like to maintain. (I've made myself some helper functions for that, but it still leads to some giant log files)
So then I noticed two things that got me curious... I *can* set a breakpoint. At least I can click on the side-bar in the RenPy editor and one seems to appear.. is that what I think it is? Is there a way of using it to break and then step through code? How do you do that?
And I noticed this thread: http://lemmasoft.renai.us/forums/viewto ... 8&start=15 I don't want to resurrect a thread that old, but did anything ever come of it? Did anyone do something to at least allow the Python development in VisualStudio while still running them through Ren'Py for execution? I have some hacks I've been working on (basically just using IronPython Test function support to execute the Python side of things... works to some small degree for the parts that do not call into RenPy at all) but suggestions are welcome
Anyway, nothing ground-breaking here, still loving Ren'Py (great job!!), just curious
So I am having two things slowing me down a lot. Not blocking me, just slowing more than with my normal coding practices. Lack of intelli-sense is the biggest one - not having auto-suggestions as I type, not being to click into a python function and then 'back' my way back out of it, not being able to mouse-over to see what a function expects.. just makes for a good bit of back-and-forth clicking, especially with older files or when I have to take a week off.
Not being able to set a breakpoint and then step through code is the other big troubleshooting issue, I end up having to put a lot more debug statements then I like to maintain. (I've made myself some helper functions for that, but it still leads to some giant log files)
So then I noticed two things that got me curious... I *can* set a breakpoint. At least I can click on the side-bar in the RenPy editor and one seems to appear.. is that what I think it is? Is there a way of using it to break and then step through code? How do you do that?
And I noticed this thread: http://lemmasoft.renai.us/forums/viewto ... 8&start=15 I don't want to resurrect a thread that old, but did anything ever come of it? Did anyone do something to at least allow the Python development in VisualStudio while still running them through Ren'Py for execution? I have some hacks I've been working on (basically just using IronPython Test function support to execute the Python side of things... works to some small degree for the parts that do not call into RenPy at all) but suggestions are welcome
Anyway, nothing ground-breaking here, still loving Ren'Py (great job!!), just curious