Home » Community » U++ community news and announcements » flagDEBUGCODE
flagDEBUGCODE [message #57370] |
Wed, 21 July 2021 15:09 |
|
mirek
Messages: 14039 Registered: November 2005
|
Ultimate Member |
|
|
Normally, DLOG, DDUMP, _DBG_, DTIMING etc.. are only allowed in debug mode so they are not "forgotten" in the code (as you cannot build release, you are forced to remove them).
Sometimes however you need to benchmark/debug the code in release mode. Sure we have have RLOG, RDUMP etc... but that brings the risk of forgetting them.
The new solution is DEBUGCODE flag - if main configuration contains this flag, DLOGs are allowed in release mode as well. The idea is that there will will be "testing" configuration (which will not be "main main").
|
|
|
Goto Forum:
Current Time: Fri Sep 20 23:05:55 CEST 2024
Total time taken to generate the page: 0.01994 seconds
|