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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:24:16+00:00 2026-05-29T10:24:16+00:00

Is it normal for WPF applications to fail silently, even in debug mode? Currently

  • 0

Is it normal for WPF applications to fail silently, even in debug mode? Currently I am executing code in the richtextbox text changed event, and if it errors it simply stops calling the text changed event and so I have to step through all the code to find the point at which it stops…

As an example, I was casting a class to another class, but I was casting to the wrong class (typed it wrong..) and so the result was NULL. This resulted in some code directly after failing when I tried to use the class. Instead of an exception though, the program just continues to run as if a try-catch was round the whole thing (and inside the catch it be removing the text changed event)

  • 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-29T10:24:17+00:00Added an answer on May 29, 2026 at 10:24 am

    You might have strange behaviours when your events handlers do not match the required signature.
    Most simple for your issue is to have your Visual Studio stop on first chance exceptions. Go in Debug menu, exception sub menu, here you can choose which exception will stop the application.
    Note also that first chance exception are displayed in the immediate window (Debug / Window / Immediate).

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

Sidebar

Related Questions

So, I want to share TONS of code between Silverlight and normal applications. Starting
I wonder if its normal practice to write such kind of code in wpf
In normal mode I can hit Ctrl + E which deletes the rest of
For normal (say Windows Forms) C# applications, to execute commands after a successful build
I have a WPF application, and I subscribe to the event AppDomain.AssemblyResolve (this event
Various WPF applications of mine display FlowDocument's. I'm able to print them, using the
I have a normal WPF window, let's call it TopLevel which has a bunch
I am currently working on an Paint-like WPF application and now stand before the
I want to create some extended Binding-Markup-Extension, which behaves just like a normal WPF-Binding
My normal work flow to create a new repository with subversion is to create

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.