• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

Catching Console errors upon crash

Scheduled Pinned Locked Moved Developers' Forum
6 Posts 3 Posters 190 Views 3 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.
  • T Offline
    thomthom
    last edited by 11 May 2009, 18:58

    I'm experiencing an bugsplat which I have a hard time tracking down.

    After I execute a specific action from my script, then go File->New to create a new scene, then once more File->New yet again SU bugsplats. I'm wondering about methods to debug that. I wonder if the Consoles outputs anything as it crashes which I won't be able to read before the window disappear.

    Anyone got ideas?

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

    1 Reply Last reply Reply Quote 0
    • J Offline
      Jim
      last edited by 11 May 2009, 20:51

      Not sure thomthom, but try starting Sketchup.exe with a batch file like this:

      
      sketchup.exe > log.txt 2>&1
      
      

      Hi

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 11 May 2009, 21:06

        that does generate a log.txt file, but the output to that file seem to end quickly.

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

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by 11 May 2009, 22:30

          Maybe it's just buffering until something flushed it?

          Hi

          1 Reply Last reply Reply Quote 0
          • A Offline
            AdamB
            last edited by 11 May 2009, 22:37

            These are very tough to track down.

            It sounds like stale data. Classic one is referencing duff data as SU tears down the parts hierarchy of a model. My general rule is never hang on to references; I know you've been digging deep into Observers recently.

            Adam

            [BTW What you building in there!]

            Developer of LightUp Click for website

            1 Reply Last reply Reply Quote 0
            • T Offline
              thomthom
              last edited by 12 May 2009, 07:16

              It's odd that it happens on the second File->New as in the first one, nothing is done.

              And yes, I do have quite a few observers and references. Though, I thought I was resetting everything onNewModel.

              I think I'll have to release a developers alpha, see if anyone can spot the culprit in my code.

              What I'm building is a plugin that allows cutout components to also cut through an opposite faced face. It does taht by creating a new invisible cutout. That's the simple stuff. The complicated stuff is making sure the extra cutout syncs with move,rotate,edits etc. That required allot more work than expected. Especially since I ran into so many bugs in the SU Ruby API requiring workaround upon workaround.

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

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

              Advertisement