improve error message when generated bytecode is too large

Description

when there's too much byte code generated for a template or method, an error is thrown, but the error doesn't give any detail about how much over, or at what point the limit was exceeded

https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/PageSourceImpl.java#L373

Providing a bit more information would be helpful, i.e. line numbers, overall code size / limit, just something to point them in the right direction beyond randomly refactoring until till code finally compiles

New users migrating from ACF are hitting this problem as ACF doesn't seem to have the same limits as Lucee

Assignee

Unassigned

Reporter

Zac Spitzer

Affects versions

Priority

New
Configure