dever wrote:Hello squawksarah!
I confess I'm not developing a lot recently. It's just for hobby and personal needs.
A problem I have is I can't use debug mode. I don't know if the problem is me, that don't know how to use, or if it's a real bug.
Hi Dever
I have only ever played with B4A and have never really enjoyed using it. So I have not taken the time to really learn how to use it. It is too complex for hobby use in my opinion. I miss the days of the old BASIC where you could make things work with minimal effort. (The result is all I really care about and I don't care to learn B4A to a professional level needed to really make it work.)
I recently make an app that warned gas-balloon pilots of an unintended night descent below a chosen altitude (gas balloons can descend as the air gets colder at night while the pilots are sleeping!). Simple you might think? Except that an aviation app of this type requires a high level of reliability. So I had to make this app work as a service to keep the warner active after the phone went to sleep. You wouldn't believe the hassles that entailed. What should have been straight-forward programming became glitchy and unreliable once the main gps altitiude detection code was placed in a service module. I think B4A is awkward and glitchy, possibly because it runs on Android. Don't really know but I find it too complex to be enjoyable to use for a hobby.
I only ever use debug (legacy) mode if there is a problem/crash in the app and I need to know the code line that caused it. Only the Debug (Legacy) option has ever worked for me. The Debug (Rapid) option does has never worked and acts exactly as you described. As to using debug to run through the code line by line I have never got this to work effectively with B4A either. I have used other programming languages in the past which had this feature and it worked really well so is it B4A or me? It is probably just me, as I am not committed to learning B4A to the level required to really understand it. In fact, I have given it up several times only to be forced to use it again to fix a bug or add some feature to my freeware nature app.
Good luck
