Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8154815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:28:40+00:00 2026-06-06T16:28:40+00:00

During the development I experience unhandled exceptions at random occasions, but mostly after closing

  • 0

During the development I experience unhandled exceptions at random occasions, but mostly after closing the application. Setting all options on ‘break on exceptions’ does not trigger any code. Anyone who experience the same behaviour. I am developing on the release preview build and visual studio RC build.

Screenshot unhandled exception

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T16:28:43+00:00Added an answer on June 6, 2026 at 4:28 pm

    First steps I did to resolve the problem is to:

    • Enable native debugging in the project properties (Debug tab,
      debugger type) (thnx James! I know now what you mean 🙂 )
    • Set symbol server to the right location (tools, options, Debugging, Symbols, all modules)

    And start debugging. This will take a few minutes to start to load all symbols….

    I traced it down to several exceptions when binding to an Bitmap of which the URL did not resolve. The binding was of a GridView to the SmallImageSource bitmap property of a class. When debugging this will give an exception in native code, but doesn’t trace to the output window or give an exception in the application. Eventually my application crashed… After fixing these resources my application did not crash anymore. Although this is not reproducible in a small scenario. Below a small bit of application code on which it crashed. the GridView was embedded in a SemanticZoom control

    XAML (used in a semanticzoom control)

                <GridView.ItemTemplate>
                    <DataTemplate>
                        <Grid Background="Gray" Width="300" Height="80">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="80"/>
                                <ColumnDefinition/>
                            </Grid.ColumnDefinitions>
                            <Image Source="{Binding Group.Key.SmallImageSource}" Stretch="Uniform" Margin="15" Grid.Column="0"/>
                            <TextBlock Text="{Binding Group.Key.Name}" Margin="0,10" TextAlignment="Center" Grid.Column="1" VerticalAlignment="Center"/>
                        </Grid>
                    </DataTemplate>
                </GridView.ItemTemplate>
    

    C# (here is an URI which does not resolve to a local resource)

    public Uri SmallImage
        {
            get
            {
                return new Uri("ms-appx:///Resources/Images/SubCategories/" + Id + "_" + FunctionHelper.StripCharacter(Name) + ".png", UriKind.Absolute);
            }
    
        }
        public BitmapImage SmallImageSource
        {
            get
            {
                return new BitmapImage(SmallImage);
            }
        }
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So far during my experience in Windows Phone 7 application development I notices there
Not a problem as such but during development I noticed that Chrome doesn't accept
During development of an mvc web application, I'm encourtering issues running the local instance
(apologies for the somewhat lengthy intro) During development of an application which prefaults an
I have been using the Grails database-migration plugin during development of my application, and
I am working on a large (100s of assemblies) asp.net application and during development
During development, I use this to load the latest jQuery: <script src=http://www.google.com/jsapi></script> <script type=text/javascript>
During development of a PostgreSQL database, I made foreign keys in every table. The
During development, I usually test ASP.Net applications using the Web Development Server (sometimes called
when implementing a recursive function during development, i will use a counter and exit

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.