Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » flagDEBUGCODE
flagDEBUGCODE [message #57370] Wed, 21 July 2021 15:09
mirek is currently offline  mirek
Messages: 13975
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").
Previous Topic: Stream::[Set|Get]Version
Next Topic: git
Goto Forum:
  


Current Time: Mon Apr 29 18:37:49 CEST 2024

Total time taken to generate the page: 0.02044 seconds