VS unable to debug unhandled exception

Hong 1,141 Reputation points
2024-05-10T13:52:03.9+00:00

I have configured VS to debug all types:

User's image

However, I still get this prompt when an app crashes:

User's image

I just want to get a clue about where this crash comes from. All the code of the app is in try-catch blocks.

Could anyone offer a tip?

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
948 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 57,646 Reputation points
    2024-05-10T21:52:46.5+00:00

    just in time debugging is triggered by the O/S. it starts a debugger, which fails, if a debugger is already attached and did not catch the error.

    either run without the debugger, or have the debugger catch caught errors with the debugger's exception settings.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful