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.
Evan LiSr SW EngineerAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
sarabandeConnect With a Mentor Commented:
in visual studio open debug menu and navigate to exceptions ... - c++ exceptions - std::exception.

there is a check-box right (titled Thrown) which you should check.

then try to reproduce the exception with the debugger. it now should break excatly at the Statement where the exception was thrown (and before it was thrown). if not checked the Debugger stops after it has found out that there was no exception handler handling the exception.

Sara
1
 
evilrixSenior Software Engineer (Avast)Commented:
Well, it means your code is failing to catch and handle a standard C++ exception. The cause of the exception could be many reasons. You need to do a few things...

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.
0
 
Evan LiSr SW EngineerAuthor Commented:
I am in windows, I am working on Win32 UI, and I am using Visual studio. Thanks for your help.

Evan
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Evan LiSr SW EngineerAuthor Commented:
How do you setup a break point on exception?
0
 
Evan LiSr SW EngineerAuthor Commented:
I am using Visual c++.
0
 
phoffricCommented:
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.
0
 
Evan LiSr SW EngineerAuthor Commented:
Thank you Sara
0
All Courses

From novice to tech pro — start learning today.