Why do I receive "First Chance Exceptions" in the Microsoft Visual Studio debugger when I run my application which uses a MATLAB Compiler generated library?

2 visualizzazioni (ultimi 30 giorni)
I am using the Microsoft Visual Studio debugger. I am building an application which uses a MATLAB Compiler generated library. When I run my application from the debugger, the message region fills with up to several hundred messages of the form:
First chance exception in ....
The application runs to completion correctly despite the messages however.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 19 Feb 2020
Modificato: MathWorks Support Team il 19 Feb 2020
This is the expected behavior. The Microsoft Visual Studio debugger displays information about first-chance exceptions, which do not necessarily indicate an error. For applications / components which handle exceptions gracefully, first chance exception messages let the developer know that an exceptional situation was encountered and was handled.
For more information about first-chance exceptions, refer to the Microsoft Visual Studio debugger documentation, and the Microsoft information at the following links:

Più risposte (0)

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by