Debug Bodymovin Extension Crash during Export w/ Expressions

226 Views Asked by At

It appears that bodymovin will crash with render failed randomly during our export.

Is there a way to debug this?

1

There are 1 best solutions below

0
njho On

It appears that we're able to debug the extension using:

chrome://inspect/#devices

And configuring the port addresses with the following

image

There I can verify that the reason it is failing is due to a broken else statement as it states it inside of the console.

Bodymovin uses Esprima.js in order to parse the expressions, and if there is a syntax error, it may crash.

image