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 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2020-2-19
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:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by