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 6769199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:09:53+00:00 2026-05-26T15:09:53+00:00

Is there an way to disable WPF’s very annoying exception wrapping when debugging? An

  • 0

Is there an way to disable WPF’s very annoying exception wrapping when debugging?

An example would be a window that owns a text box, the text box is bound to a property, the getter on that property throws an exception that can’t be handled by the presentation framework (throw new StackOverflowException() for example).

What I’m should be seeing is

        get
        {
            throw new StackOverflowException(); // < Exception happened here
        }

Instead what I’m seeing is…

    No Source Available
    Call Stack Location:
    PresentationFramework.dll!MS.Internal.Data.PropertyPathWorker.RawValue(int k) + 0x64 bytes  

Because of WPF’s exception wrapping this exception is also sometimes caught and dispatched then is either rethrown or hidden deep within MS.Internals and impossible to return to the actual site of exception. This results in us seeing a gigantic callstack of PresentationFramework.dll, PresentationCore.dll, and WindowsBase.dll but NO user code except for App.Main().

This occurs during binding, events called during creation, and other completely random situations without rhyme or reason (exception during button click sometimes does this to me). Now yes I can look at stack trace inside of the exception but that stack trace is also pretty much meaningless because I cannot return to that frame to see what the variables are that at the time of throw.

  • 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-05-26T15:09:53+00:00Added an answer on May 26, 2026 at 3:09 pm

    Generally when debugging I’d use the debug -> exceptions and select thrown for Common Language Runtime Exceptions. This will then halt at the point that the exception is thrown.

    Visual Studio 2010 Exceptions dialog with common language runtime exceptions ticked

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to disable changing the value of a ComboBox in WPF
Is there a way to disable the WPF designer (the preview pane, I only
I have a WPF Window with WindowStyle set to none. Is there some way
Have a look at this very simple example WPF program: <Window x:Class=WpfApplication1.Window1 xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml
Is there a way to resize a WPF UserControl in such a way that
Is there any way by which I can disable GridViewColumn resize in WPF? I
there is some default functionality on a WPF application that i would like to
Is there any way to disable the sound that sounds when a messageBox shows?
Is there way to disable all widget in tk window with single proc? argument
Is there any way to disable that? I only mean in the browser... When

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.