💡 LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
Plugin debugger workflow
-
Hi,
i read the debugger configuration of Rubymine from https://github.com/SketchUp/sketchup-ruby-api-tutorials/wiki/RubyMine%20Overview and succeed reproducing Rubymine debugger setup but there are still several problems :- Must i close and reopen SketchUp to rerun my plug-in script ? Once i created a script loader in Plugin Folder, it doesn't has much different between manually opening sketchup and debugging in Rubymine. I coded Ruby before but mostly by Native Ruby test case Notepad++ ,which has great automation for testing workflow so repeated open/close SketchUp is a bit uncomfortable for me.
- i need one plugin loaded before while my load_plugin.rb for testing is always loaded before that plugin. If i try to run code in SkecthUp console (e.g. after required plugin loaded), the code runs well. But if i loaded my code remotely by load_plugin.rb, the code got broken. There is any way to control load order of plugin in Sketchup Plugin folder ?
Thanks
-
The plugins are loaded alphabetically it seems so I have just added a "AAA" prefix to the name of the one I want to load first
-
I tried by change name of load_plugin.rb to z_load_plugin.rb but it seems not solve my problem
Advertisement