Wish Conditonal compilation condition #IF Not(Obfuscated)

Chris2

Active Member
Licensed User
Longtime User
Forgive me if this can already be done somehow but...

When testing server/client apps in B4J I run both apps through the IDE at the same time on the same machine. We are limited to running only one app in DEBUG at a time but I want to see the Log() entries that I have in the IDEs of both apps. I don't really want those Log() entries to be in the code of the final compiled release though.

If there was a compilation condition that could be used like:
B4X:
#If Not(obfuscated)
Log($"Shown in Debug & Release but not Release(obfustaced)"$)
#End if
then I would see Log() entries when testing within the IDE in both DEBUG & RELEASE mode, but the Log() would not be present in the final release for which I always compile under Release(obfuscated).

I hope that makes sense!

[I guess this an alternative to the wish of being able to run multiple apps in Debug at the same time on the same machine]
 
Top