sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Sketchup Plugin Debugger

    Scheduled Pinned Locked Moved Developers' Forum
    6 Posts 5 Posters 2.4k Views 5 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.
    • B Offline
      brian_concannon
      last edited by brian_concannon

      I have developed a debugging tool for Sketchup plugins. It allows conditional watches and breakpoints and examining/setting variables and tracing through the code and seeing variable values changing.

      I am posting the user guide below, and a zip file with the required files and all source code (Ruby and VB.net).

      Enjoy. All free for you.


      Debugger User Guide


      deployment package

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        Is it possible to make it output to an external app like DebugView? SU's Ruby Console slows down very quickly as it's being filled up.

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • Dan RathbunD Offline
          Dan Rathbun
          last edited by

          Is this different than the "Debuggifier" you posted previously ??

          I'm not here much anymore.

          1 Reply Last reply Reply Quote 0
          • J Offline
            jefftrull
            last edited by

            I gave this a try today, with no luck... The instructions say to run "deploy\setup.exe" but there is no such directory. There is a "publish\setup.exe", so I ran that. At the end of the install process it prompted me to supply a pair of filenames to process (input and output, I presume) so I did. The resulting ruby script was identical to the input, except for changes in formatting - in other words, only whitespace differences. No special debug commands were added that I could see, and indeed, when I ran my script it crashed as usual, with no helpful debug popups etc. Also, the documentation refers to a "Debuggified" plugin, but I see no evidence that this was installed. Is it something I am supposed to manually copy?

            If anyone has used this successfully, I would like to hear your install/usage procedure.

            Thanks,
            Jeff

            1 Reply Last reply Reply Quote 0
            • Didier BurD Offline
              Didier Bur
              last edited by

              Hi,
              Below are the last lines of face2face.rb, included with the package:

              # Add a menu choice for creating extrusion
                unless file_loaded?('Face2Face.rb')
                  file_loaded('Face2Face.rb')
                  $submenu ? (organizer = $submenu) ; (organizer = UI.menu('Plugins'))
                  organizer.add_item('Extrude Face2Face') { MF2F.tool }
                  organizer.add_item('Face2Face Parameters') { MF2F.parameterstool }
                end
              

              😲 😲 😲
              What's this mess ? Is this file really necessary ?
              Please provide installation instructions...

              DB

              1 Reply Last reply Reply Quote 0
              • Dan RathbunD Offline
                Dan Rathbun
                last edited by

                It is for Smustard Menu Organizer

                I'm not here much anymore.

                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