Android Question What replaces log() ?

MitchBu

Well-Known Member
Licensed User
Longtime User
I searched the forum to no avail. Last time I worked with B4A it was 6.x and I used log() to send messages to the message pane.

I try to run older code in the IDE, and I am told it is deprecated. Anything replaces it ?

Thank you in advance.
 

MitchBu

Well-Known Member
Licensed User
Longtime User
You are right. Log itself does not seem to be deprecated. I was confused by this message :

---

B4A Version: 9.01.2
Java Version: 8
Parsing code. (0.00s)
Building folders structure. (0.03s)
Compiling code. (0.01s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Generating R file. (0.00s)
Compiling generated Java code. (0.57s)
Convert byte code - optimized dex. (0.24s)
Packaging files. (0.13s)
Copying libraries resources (0.00s)
Signing package file (debug key). (0.37s)
ZipAlign file. (0.02s)
Installing file to device. (0.03s)
Installing with B4A-Bridge.
*** Legacy debugger is deprecated. ***
It is recommended to switch to the default debugger (Tools - IDE Options).
Completed successfully.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
It seems that you are using the 'legacy debugger'.

upload_2019-5-3_11-18-16.png


You should uncheck it!
 
Upvote 0
Top