I was trying to make a gradient by using the sample code in the reference page and accidentally put in some illegal color values whereas Sg threw an error saying:
'Illegal gradient stop' and continued to log the same error as long as the mouse cursor remained in the Sg-window.
Now, I know this isn't a very big deal but eventually AI crashed due to this error (tried it several times).
Trivial stuff maybe, but I just thought you'd know.
PS. By the way, there is a ']' missing between row 6 and 7 in the GradientColor sample code. DS