sketchucation logo sketchucation
    • Login
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    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
    guest-login-reply
    deleted-message
    • 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

      one-reply-to-this-post last-reply-time 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

        one-reply-to-this-post last-reply-time 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.

          one-reply-to-this-post last-reply-time 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

            one-reply-to-this-post last-reply-time 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

              one-reply-to-this-post last-reply-time reply quote 0
              • Dan RathbunD Offline
                Dan Rathbun
                last edited by

                It is for Smustard Menu Organizer

                I'm not here much anymore.

                one-reply-to-this-post last-reply-time 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