Evan Li
asked on
Exception thrown at 0x00007FFD5BC81F28
I have output from my c++ program as follows:
Exception thrown at 0x00007FFD5BC81F28 in nxrmtray.exe: Microsoft C++ exception: std::exception at memory location 0x000000ED6F2FDEA8.
I just do not know what is wrong, and what can I do with this message. Does anyone knows how to deal with this message?
Thank for your help.
Exception thrown at 0x00007FFD5BC81F28 in nxrmtray.exe: Microsoft C++ exception: std::exception at memory location 0x000000ED6F2FDEA8.
I just do not know what is wrong, and what can I do with this message. Does anyone knows how to deal with this message?
Thank for your help.
ASKER
I am in windows, I am working on Win32 UI, and I am using Visual studio. Thanks for your help.
Evan
Evan
ASKER
How do you setup a break point on exception?
ASKER
I am using Visual c++.
What version is your Visual C++?
This article on debugging refers to an older version of Visual Studio 2008 Express.
https://www.experts-exchange.com/articles/2688/C-C-Beginner's-Debugging-Guide-using-Visual-Studio-2008-Express.html
Part 2 continues on with debugging tips. You have to build your program in Debug mode to be able to debug easily.
This article on debugging refers to an older version of Visual Studio 2008 Express.
https://www.experts-exchange.com/articles/2688/C-C-Beginner's-Debugging-Guide-using-Visual-Studio-2008-Express.html
Part 2 continues on with debugging tips. You have to build your program in Debug mode to be able to debug easily.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you Sara
1. Add exception handlers in your code to catch and report exceptions. You could just wrap all you code in your main function in exception try/catch handlers and send the exception message to std::cerr.
2. Locate the cause of the exception and fix. Your best bet is to run the code in a debugger and set it to break on exceptions.
You don't say what platform you are using, which compiler nor have you shared the code so it's hard to be more specific at this point.