Hello All,
I have a project with lots os activities, code modules, classes, etc.
Recently I started to get this message, in modules that are not touched in several months.
I have revised the code and found no try statements larger than 10 lines.
Does B4A has a limit in the number of lines? code? size of the project?
In release mode, I have no problems.
Any ideas? I'm lost here.
From memory, output compiled bytecode is limited to 64k per... not quite sure if per Sub or per source file (module).
But that would fit your description eg 5000+ line source code file, and debug-crash-but-release-ok
Does that source file have just a single Sub, or several? If several, then try moving some of them out into a new separate source file, see if the problem goes away.
The debugger adds Try / Catch blocks (as well as many other things) to all subs. You have a huge sub which you need to split. It will also be more maintainable.