Is there a simple way for a library to check if it is being run against a debug (IDE) run version of an app or a release version (ie java -jar xxx).
The reason I ask is I have noticed the method signatures vary in a Class module depending on release or debug (extra parameter in debug).
Sorted - completely forgot about #if DEBUG
Sorry...
Not sorted, I need to know if app is running from IDE or jar file.
The reason I ask is I have noticed the method signatures vary in a Class module depending on release or debug (extra parameter in debug).
Sorted - completely forgot about #if DEBUG
Sorry...
Not sorted, I need to know if app is running from IDE or jar file.
Last edited: