‘BreakPoint’ is an addon for Blender. It was developed by Good Spirit Graphics. BreakPoint will allow you to debug your scripts, within Blender, much more easily. Now, there is no need to resort to using a complex IDE like Eclipse every time you have a stubborn bug in your code. BreakPoint allows you to print your variable values to the ‘Blender Console’, to a panel within Blender, or to a log file. BreakPoint also allows you to set conditional ‘breaks’ in your code very easily. Finally, you can enable, and disable Breakpoint, from the BreakPoint panel, with the push of a button. There is no need to repeatedly comment, and un-comment your ‘print’ statements every time you want to check something.
Watch both videos below to understand all the features.
Download ‘BreakPoint’ at the GSG e-Store
|
This is a very helpful addon. I like to to my scripting inside blender because I test a lot and using an external IDE is cumbersome. Having the ability to step through a script and check variables is a greatly appreciated adddition. BreakPoint has just enough features to do the job, and not so many features that it’s difficult to use. Thanks so much for creating this.
Thank you, I really tried to avoid “feature-creep” on this one. It’s always more difficult to make something simple, that works well, than something with a lot of features that isn’t as user friendly.
he he for a minute I thought breakpoint might add some nice surf to the Ocean sim modifier! Thanks for your good work though.
Wow~ I really like how you design the functionality.
The UI is really friendly and the workflow is very clear and handy.
Thanks for this brilliant addon.
Keep working ,fantastic job! dkfeecbbegadkdef
Tool causes blender 2.77 to hang. is forever busy if I enable a breakpoint
Ok Solved, This only happens when the pause functionality is used (at least in windows 10, blender 2.77). Make sure you open the console window before running the script. Upon the breakpoint type CTRL Z AND ENTER after that in the “InteractiveConsole”.
According to code.interact (the blender function used to pause the script) this window should have appeared automatically.
many thanks and all the best
Blender help: “code.interact can be added at any line in the script and will pause the script an launch an interactive interpreter in the terminal”
Thus in Windows the terminal has to be opened by hand before running the script. There is no python function to open it automatically
Exactly, you need to have the console open because that is where the CTRL-Z is input when you are paused.
Console window toggle: bpy.ops.wm.console_toggle()