• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 383
  • Last Modified:

Ignore exceptions from a referenced Assembly

Hello,

When I debug a project that contains a file path reference to another assembly and an exception is caught and handled in that assembly, VS will still stop and show me the exception.  How do I get VS to ignore the exception?

I'm using the Unity application block from microsoft and at first, VS studio would not stop on exceptions from UNITY assemblies.  But then I had to apply a strong name license to my application, which caused me to recompile the UNITY assemblies.   Now whenever I debug my code, its stops on Exceptions that are handled with in the UNITY assemblies.  Its very annoying to have to press f5 everything I debug my app.

Thanks.
0
OFGemini
Asked:
OFGemini
1 Solution
 
Gruff82Commented:
Hi OFGemini,

Within VS goto Debug -> Options and Settings ensure "Enable Just My Code (Managed Only)" is checked.

Then goto Debug -> Exceptions and ensure Thrown is unticked and User-Unhandled is ticked.

Hope this helps.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now