Erel B4X founder Staff member Licensed User Longtime User Sep 13, 2015 #1 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: Oct 14, 2015
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.
Erel B4X founder Staff member Licensed User Longtime User Sep 13, 2015 #2 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: Code: Copy 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: Nov 11, 2015 Upvote 0
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: Code: Copy 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.
Swissmade Well-Known Member Licensed User Longtime User Sep 14, 2015 #3 Nice waiting on release Upvote 0
ivanomonti Expert Licensed User Longtime User Oct 14, 2015 #4 thank 100000000000000000000000 Erel Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2015 #7 v3.70 has been released. This thread (about the beta) is now closed. Upvote 0