JOHN JOHNNNY

JOHN JOHNNNY

  • NA
  • 190
  • 139.5k

Unhandled Exceptions

Sep 10 2014 7:14 AM
Good day

I did as you directed i removed some codes i added before and after and tested in the emulator it works fine.

I decided to be adding the code one after the other to really know the wrong code, another thing i discovered is that after the app has shown in emulator if i click a button or try to click anything in it the app will close.

In the app.xaml.cs it shows:
// Code to execute on Unhandled Exceptions
        private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
        {
            if (Debugger.IsAttached)
            {
                // An unhandled exception has occurred; break into the debugger
                Debugger.Break();
            }
        }

While at the base i.e error list area (Local) during debugging it shows "System.OutOfMemoryException: Insufficient memory.............." you can see the attached error picture

What i can i do to correct this

Regards and reply soon