replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Trapping runtime errors, with windows C++ and FTN95 DLLs
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Trapping runtime errors, with windows C++ and FTN95 DLLs

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
KennyT



Joined: 02 Aug 2005
Posts: 318

PostPosted: Fri Mar 19, 2010 5:18 pm    Post subject: Trapping runtime errors, with windows C++ and FTN95 DLLs Reply with quote

Got a nasty one!

We're calling a C++ DLL which is providing a windows interface capability. It's called "Qt" (if anyone happens to be familiar with it!).

The problem is that for some unknown reason, the app has started crashing. The traceback provided by FTN indicates that the crash is in the C++ DLL, but, according to our tame C++ programmer, he doesn't get a trap in his debugger (visual studio, I assume) before FTN has fallen over.

So, is there a way to stop FTN intercepting the crash, so that the VS debugger has a chance to see what's going on?

K
Back to top
View user's profile Send private message Visit poster's website
acw



Joined: 04 Nov 2005
Posts: 165
Location: Darkest Devon

PostPosted: Mon Apr 19, 2010 12:33 pm    Post subject: Reply with quote

I don't know if this is what you're doing already, but to debug C++ code in a dll called from ftn95 (using visual studio), I start the app in non-debug mode (ctrl+f5 or just run the exe from explorer), then once started I use the VS debug->attach to process to select the running executable using the VS native debugger (rather that the ftn95 debugger). Breakpoints or crashes in the c++ code should then happen as expected in VS.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group