Other The impossible is now possible...

Erel

B4X founder
Staff member
Licensed User
Longtime User
  • Deploying your app to the device in one second? impossible.
  • Modifying the code while the app runs? impossible.

These would have been my answers to the two questions above a few months ago. However things have changed since:


I've described it a bit here: Something new...

Note that it is not clear in the video but it doesn't run the same app (like the "run last deployment" option). I could have changed the code between the deployments.

This feature, named Rapid Debugger will be available in the next version of Basic4android.

The rapid debugger is an extremely sophisticated solution that breaks the app into two apps. One runs on the device (shell app) and the other runs on the PC and controls the device app. This process is transparent for you, the developer.

In most cases there is no need to update the shell app so the installation can be very quick. This also allows all kinds of interesting features such as hot code swapping and other advanced debugging options (watches for example).

The rapid debugger does have its limits. The performance of the running app will be slower (only in this mode!). It will not be useful for real-time games for example. The current debugger will also be kept for now.
 

WAZUMBi

Well-Known Member
Licensed User
Longtime User
WOW! Absolutely incredible. :cool:

Note that the rapid debugger does have some limits and will not fit all apps (specifically real time games or computing intensive apps).
bummer...:(
But I figured as much.
 
Upvote 0

aeropic

Active Member
Licensed User
Longtime User
Note that the rapid debugger does have some limits and will not fit all apps (specifically real time games or computing intensive apps).

Yeap... I think I've reached this limit with an app performing some image processing (scanning pixel by pixel 2 entire pictures from camera)
- without debugger : 3 seconds
- with legacy debugger : around 10 sec
- with rapid debugger : after 3 minutes, the app crashed with "application B4A example does not answer ..." :confused:

Nevertheless, It's a cool feature for other apps !

Alain
 
Upvote 0
Top