I’ve been working on pre-compiling a CFML application using the cfadmin tag, it took some tinkering but we’ve now got it working quite well (though railo’s dump.cfc seems to crash when invoked from a pre-compiled CFML class, but we’ll leave that for another day).
However, I’ve noticed that without the context of the source CFML, the error template doesn’t return as much information. Most notably, it no longer returns the line numbers, and just displays -1 against the given file instead. Is there an option when compiling using cfadmin to include ‘debug symbols’, to avoid losing this information?
Just to throw a spanner in the works, this application is still using Railo 3.3.4, but we’re looking to finally upgrade over the coming months so any solutions for any version would be appreciated.