Your Digital Media Has Never Looked So Good

 
rockstar1
Topic Author
Posts: 10
Joined: Mon Feb 15, 2016 9:10 pm

Tool to capture crashes in Roku

Tue Jul 05, 2016 3:06 am

Is there any tool to analyze crashes in Roku, like Crashlytics or test fairy?
 
EnTerr
** Valued Community Member **
Posts: 3834
Joined: Sun Jan 02, 2011 2:41 am

Re: Tool to capture crashes in Roku

Tue Jul 05, 2016 10:47 am

No.
The Co. "has the technology" - they collect the data of field crashes but they just sit on it, as far as outside-dev channels are concerned.
 
rockstar1
Topic Author
Posts: 10
Joined: Mon Feb 15, 2016 9:10 pm

Re: Tool to capture crashes in Roku

Tue Jul 19, 2016 10:01 am

I just noticed GetLastRunRuntimeError() and GetLastRunCompileError(), but unfortunately GetLastRunRuntimeError() gives only error code, is there any pre defined list of such error codes to easily identify the type of error. Also, once the error occur, now whenever I run my code, it always show me the same error, is there a way to clear this record once the data has been captured from this function.

Regarding GetLastRunCompileError(), this function never returns anything. I am looking to send crash logs to my server whenever roku app crashes. Is there any different approach I should follow?
 
EnTerr
** Valued Community Member **
Posts: 3834
Joined: Sun Jan 02, 2011 2:41 am

Re: Tool to capture crashes in Roku

Tue Jul 19, 2016 2:01 pm

rockstar1 wrote:
I just noticed GetLastRunRuntimeError() and GetLastRunCompileError(), but unfortunately GetLastRunRuntimeError() gives only error code, is there any pre defined list of such error codes to easily identify the type of error.
Unfortunately the codes are undocumented in TFM.
But try extracting them with a call from this dusty corner https://sdkdocs.roku.com/display/sdkdoc/Component+Architecture#ComponentArchitecture-bslBrightScriptErrorCodes()asObject

Reminds me much "The Hitchhiker's Guide to the Galaxy": viewtopic.php?f=34&t=71686#p448091

Also, once the error occur, now whenever I run my code, it always show me the same error, is there a way to clear this record once the data has been captured from this function.

Regarding GetLastRunCompileError(), this function never returns anything.
RokuCo dis-courages, dis-supports and dis-recommends using these, see viewtopic.php?f=34&t=95690#p535128

I am looking to send crash logs to my server whenever roku app crashes. Is there any different approach I should follow?
... but no, there is no other way 8)

Who is online

Users browsing this forum: No registered users and 17 guests