Catching Console errors upon crash
-
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?
-
Not sure thomthom, but try starting Sketchup.exe with a batch file like this:
sketchup.exe > log.txt 2>&1 -
that does generate a log.txt file, but the output to that file seem to end quickly.
-
Maybe it's just buffering until something flushed it?
-
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!]
-
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement