Reputation: 169
I am using MFC in Visual Studio 2010. I am modifying a code done by someone else. VS2010 loads some files, but on loading the last dll file i am getting
First-chance exception: Microsoft C++ exception: at memory location 0x0014faa0..
I am wondering, is there a way to put a breaking point on loading dll files? the exception happens when VS load a 3rd party dll file.
Upvotes: 0
Views: 901
Reputation: 23664
It may be OK if you see first-chance expection according to this blog:
http://blogs.msdn.com/b/davidklinems/archive/2005/07/12/438061.aspx
Quoted below:
Does a first chance exception mean there is a problem in my code?
First chance exception messages most often do not mean there is a problem in the code. For applications / components which handle exceptions gracefully, first chance exception messages let the developer know that an exceptional situation was encountered and was handled.
This post provides relevant information How can I set a breakpoint in referenced code in Visual Studio?
Upvotes: 1
Reputation: 9645
There is no need to worry about first-chance exceptions in third-party code, as that may be a normal part of their execution. If the third-party code does not handle the exception, it will become a second-chance exception, and then you know something is wrong.
Upvotes: 1