The STL portion of EWL C++ has a debug mode that can be used to diagnose common mistakes in code that uses the EWL C++ containers and their iterators. When an error is detected, a std::logic_error is thrown with an appropriate error message.