Solved

Exception thrown at 0x00007FFD5BC81F28

Posted on 2016-10-03
7
31 Views
Last Modified: 2016-10-04
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.
0
Comment
Question by:Evan Li
7 Comments
 
LVL 40

Expert Comment

by:evilrix
ID: 41827279
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
 

Author Comment

by:Evan Li
ID: 41827305
I am in windows, I am working on Win32 UI, and I am using Visual studio. Thanks for your help.

Evan
0
 

Author Comment

by:Evan Li
ID: 41827312
How do you setup a break point on exception?
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:Evan Li
ID: 41827315
I am using Visual c++.
0
 
LVL 32

Expert Comment

by:phoffric
ID: 41827327
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
 
LVL 32

Accepted Solution

by:
sarabande earned 500 total points
ID: 41827775
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
 

Author Closing Comment

by:Evan Li
ID: 41829176
Thank you Sara
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now