Hi How is it better to create runtime "assert" functions to check the code with real MIDI files? Is it allowed to use abort() if something is completely wrong (should not be at all in correct case)? How to tell preprocessor to use assert functions only in DEBUG mode in MuseScore (is there something like #ifndef NDEBUG)? Currently I write assert requirements only as code comments, for example, "All chords should have here different onTime values" - but it's better to have a real check.
Andrey -- View this message in context: http://dev-list.musescore.org/Assert-runtime-functions-tp7578521.html Sent from the MuseScore Developer mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Mscore-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mscore-developer
