sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Plugin debugger workflow

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 580 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      wta12
      last edited by

      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 :

      1. 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.
      2. 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
      1 Reply Last reply Reply Quote 0
      • sdmitchS Offline
        sdmitch
        last edited by

        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

        Nothing is worthless, it can always be used as a bad example.

        http://sdmitch.blogspot.com/

        1 Reply Last reply Reply Quote 0
        • W Offline
          wta12
          last edited by

          I tried by change name of load_plugin.rb to z_load_plugin.rb but it seems not solve my problem

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement