private void InputChanged(object sender, TextChangedEventArgs e) { #if RELEASE try { #endif ProcessInput(sender); #if RELEASE } catch (Exception ex) { HeaderBox.Text = "Sorry, we cannot process your input (yet)." + Environment.NewLine + "Please check that the C# input is valid."; CppBox.Text = ex.ToString(); } #endif }