• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Sketchup Plugin Debugger

Scheduled Pinned Locked Moved Developers' Forum
6 Posts 5 Posters 2.4k Views
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 5 Feb 2012, 10:30

    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
    • T Offline
      thomthom
      last edited by 5 Feb 2012, 11:40

      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
      • D Offline
        Dan Rathbun
        last edited by 5 Feb 2012, 11:50

        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 25 Mar 2012, 01:01

          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
          • D Offline
            Didier Bur
            last edited by 2 Apr 2012, 07:48

            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
            • D Offline
              Dan Rathbun
              last edited by 2 Apr 2012, 15:00

              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