I’m trying to debug nodes API and some calls are cross-language.
Some calls are easy to catch via bindings, but they’re not always obvious.
Snd they’re some esotetic cases, like the line self.node_tree = newtree
updating user counters.
I’m trying to debug nodes API and some calls are cross-language.
Some calls are easy to catch via bindings, but they’re not always obvious.
Snd they’re some esotetic cases, like the line self.node_tree = newtree
updating user counters.
You also can on linux (and I assume on MacOS as well) using Visual Studio Code. Unfortunately, I don’t have a cross platform setup. In general it worked for me like so:
ptvsd
package in Blender and then connect to the opened port from within vs code.I automated this process in my vscode extension for Blender development. However, this is not part of the “official” functionality.
Yay! It works!
Thanks!
(If only it could also ‘step into’ from python to c…)