×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Dec 2012
    Location
    India
    Posts
    264

    How to debug if app is stuck in loading screen

    Hi

    I have used IsolatedStorage in my app to save state information of my pages.The app works fine if it is just deactivated and then brought back.However, it is stuck in a Loading screen whenever I reopen the app after it is closed.

    Why is this happening ? How can I debug these kind of errors?

    Further info : I have a Scheduled Agent setup to download content from net and save it to Isolated storage.My activation policy is replace.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2012
    Location
    Bilbao
    Posts
    53

    Re: How to debug if app is stuck in loading screen

    Hi, maybe an exception is raising and you have a try catch block controlling it and not throwing it up? You can try going to DEBUG menu in Visual Studio > Exceptions and check the throw checkbox for Common Language Runtime Exceptions and press OK. This way if any exception is being throw Visual Studio is going to stop on it even if you have a try catch block.

    Hope this can help you!

  3. #3
    Registered User
    Join Date
    Nov 2013
    Posts
    29

    Re: How to debug if app is stuck in loading screen

    you can try a Debug.WriteLine("msg") right before you start loading in data from isolatedstorage and one right after, and maybe on some other strategic places. The messages will appear in your output window

  4. #4
    Registered User
    Join Date
    Dec 2012
    Location
    India
    Posts
    264

    Re: How to debug if app is stuck in loading screen

    Thanks all for your replies.I have enabled that option and have used Debug.WriteLine as well.

    In my App.Xaml.cs, I have done this

    private void Application_Launching(object sender, LaunchingEventArgs e)
    {
    Debug.WriteLine("App is launching");
    }
    Similarly for all other events.I can clearly see that during first run, the app is lauched and closed properly.However, during second launch, even the Application_Launching function is not getting called!!

  5. #5
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    429

    Re: How to debug if app is stuck in loading screen

    How much information are you storing inside the IsolatedStorage?

Similar Threads

  1. Loading Screen in WRT
    By shaneymac in forum Symbian
    Replies: 3
    Last Post: 2011-11-22, 14:09
  2. Stuck at 'Create new project' screen in Carbide.c++
    By chiaxyr in forum [Archived] Qt SDKs and Tools
    Replies: 4
    Last Post: 2011-06-02, 05:24
  3. loading screen
    By twtb in forum Mobile Java General
    Replies: 1
    Last Post: 2010-05-09, 16:39
  4. 5233 stuck at nokia screen
    By arzin in forum General Development Questions
    Replies: 1
    Last Post: 2010-03-18, 09:26
  5. Debug session stuck at 47%
    By tcalamawy in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2008-08-01, 13:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •