jit.gl.lua crashes

DiGiTaLFX's icon

Hi

I've just started investigating lua and the jit.gl.lua object and must say I think I'm pretty much going to replace js with lua :)

However one problem I'm running into (Max 6.0.4) is that whenever there's any syntax errors in my script, Max just completely crashes and closes. Is jit.gl.lua meant to Error quietly, or should this just be expected?

Many thanks

DiGiTaLFX

Wesley Smith's icon

Hi there. Thanks for the report. This definitely should not be happening. You should get an error message and not a crash. I've logged a ticket to fix this for the next release.

DiGiTaLFX's icon

Oh good! I was slightly worried that my last few days of learning might need to be scrapped if that was the case (but it did seem a little odd)! Thanks :)