@
alwaysbusy
It maybe related to an unconfirmed bug from b4j 2.8.
https://www.b4x.com/android/forum/threads/error-in-debug-mode-b4j-version-2-8.50495/page-3
I am trying to load an old old project wiith 3.7.1 , similar error.
It happens when :
1. Large project.
2. Breakpoints & bookmarks in handlers/classes (except the main thread)
3. Run in debug mode , debug will not start ( Not every time)
4. Run in release mode , OK.
5. After clear all breakpoints, runs well in debug mode.
You can try to clear all breakpoints .
Updte : It seems that VirtualMachineArgs setting affect it. When VirtualMachineArgs is small and breakpoints are set , this happens more offen.
example :
#VirtualMachineArgs: -Xms224m -Xmx224m with breakpoint : not working
#VirtualMachineArgs: -Xms224m -Xmx224m without breakpoint : working sometimes