Skip navigation
Currently Being Moderated

Crash reporting

Mar 5, 2012 2:29 AM

Tags: #crash #bug #monitoring #report

Hi everyone,

 

Is there a special way of sending crash reports from an extension? What I want is that each time a crash occurs on our users machine I receive a notification with a stack trace.

 

Here are my questions:

 

- Is there a library for this (something that would intercept all the extension crashes) and maybe let me define a url where to send the stack trace to?

- How to show a stack trace in ActionScript?

- How to intercept all exceptions extension wide?

 

 

Best regards.

-- Bastien

 
Replies
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Mar 5, 2012 2:41 AM   in reply to B4stien

    I am not aware of anyone who has done this.

    What is your extension written in (C++, AS3, JavaScript, CSSDK, Extension Builder, AppleScript, hybrid?), and are you concerned with crashes of InDesign, or cases where your script abnormally terminates but InDesign keeps running fine?

     

    I assume you can catch any exceptions in AS3 with try/catch. But my AS3 knowledge is very basic, so perhaps there is more to it than that?

     

    Do you have to support both Windows and Macintosh?

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Mar 5, 2012 8:28 PM   in reply to B4stien

    Bastien:

      I am definitely not a good person to be answering AS3 questions. You are probably much better off asking in the CS SDK Forum, http://forums.adobe.com/community/creativesuites/cs_sdk.

     

    I think use of try/catch really depends on how you have structured your code.

     

    At first I thought you were asking about the InDesign process crashing.

    Good luck.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points