Other B4J v3.70 BETA is available for download

Status
Not open for further replies.

Erel

B4X founder
Staff member
Licensed User
Longtime User
v3.70 BETA is now available for download: www.b4x.com/b4j/files/beta.exe

The final version is available here: www.b4x.com/b4j.html

The main focus in this update is the debugger performance. Several advanced optimizations were implemented and the overall performance, in most cases, should be significantly better.

Note that these optimizations will also be implemented in B4A and B4i.

BitmapDrawable in the designer supports more options.
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
One of the optimizations, which is related to breakpoints, can be disabled with a new attribute named #DebuggerDisableOptimizations (it is enabled by default).

I will use this code to explain why you may want to disable it:
B4X:
Sub Timer1_Tick
   S1
   Log("After S1")
End Sub

Sub S1
   Log("abc") 'put a breakpoint here
   Log("def") 'this line will be paused
End Sub
If you put a breakpoint on the line and then press F8 (step) twice the program will continue and will not pause on the "After S1" line.

If the optimization is disabled then it will pause on that line. However the code execution will be slower. You can see it with current versions of B4A, i or J where a single breakpoint can make the whole program much slower. This optimization dramatically improves it.
 
Last edited:
Upvote 0
Status
Not open for further replies.
Top