kf4oij
asked on
Cathing (and viewing) the uncaught exception.
Hey,
I am working on a DLL to integrate with a server written by a partner company. And I am running into some trouble. Anyways, somewhere in my code, an exception is being thrown (but only when it is run in a multi-threaded environment) I have set up a try{}catch(...){} block to catch the exception, but I am getting nowhere and REALY want to see what the exception that is being thrown is. Is there a way to get the exception?
Thanks,
Joey
I am working on a DLL to integrate with a server written by a partner company. And I am running into some trouble. Anyways, somewhere in my code, an exception is being thrown (but only when it is run in a multi-threaded environment) I have set up a try{}catch(...){} block to catch the exception, but I am getting nowhere and REALY want to see what the exception that is being thrown is. Is there a way to get the exception?
Thanks,
Joey
ASKER
Hey,
Yeah, Windows with Visual C++ 6. That is part of the problem. The Exception is only thrown when used in the client app (which I don't have source for) or is there some way, I can run the client app, with the DLL in the debugger?
Joey
Yeah, Windows with Visual C++ 6. That is part of the problem. The Exception is only thrown when used in the client app (which I don't have source for) or is there some way, I can run the client app, with the DLL in the debugger?
Joey
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No comment has been added lately, so it's time to clean up this TA. I will
leave a recommendation in the Cleanup topic area that this question is:
Answered: Points to cup: Grade A
Please leave any comments here within the next seven days.
Experts: Silence means you don't care. Grading recommendations are made in light
of the posted grading guidlines (https://www.experts-exchange.com/help.jsp#hi73).
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
-bcl (bcladd)
EE Cleanup Volunteer
leave a recommendation in the Cleanup topic area that this question is:
Answered: Points to cup: Grade A
Please leave any comments here within the next seven days.
Experts: Silence means you don't care. Grading recommendations are made in light
of the posted grading guidlines (https://www.experts-exchange.com/help.jsp#hi73).
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
-bcl (bcladd)
EE Cleanup Volunteer
If you are using Solaris, you can stop on the throw instructions. There is something very similar on the HPUX debugger.