|
-
October 24th, 2005, 02:09 PM
#16
Re: Release version of application crashed!!!
If the debugger is not able to help you with locating a crash when executing the release mode version, map files should (see my post above to learn how these are to be used).
Map files are a standard way to locating the reason behind release-mode crashes, and an accurate way too - one I would recommend. If you are sure that the problem is with that TCHAR string usage, review the same and hopefully you'll fix it. BTW, map files can help you in being sure of this as the cause of the crash as well.
-
October 24th, 2005, 02:13 PM
#17
Re: Release version of application crashed!!!
Actually I executed a RELEASE version of my app from the command line and it will crash. But it won't crash if I execute a RELEASE version of app from VS IDE.
 Originally Posted by JMS
So you executed a debug version of your app from the command line and it still crashed?? Or, that's how you know it crashs you tried to execute it from the command line???
1) Does the release version crash too when executed inside the IDE?
2) Does the release version crash when you execute it from the comand line?
3) Debug version works from the IDE
a. in the debugger?
b. when you execute it?
Your problem could be in your configuration.... in you project settings you might have changed the working directory, thus executing from the DEBUG or release directories the program can't find config files (.ini) etc and blows up.
Could be command line optioons in your project settings.. The IDE uses them and the command line version doesn't...
Need to know more..
Still running the release version inside the IDE using techniques others have already refferenced will allow you to isolate the line where problem exists..
-
October 24th, 2005, 05:01 PM
#18
Re: Release version of application crashed!!!
Actually I executed a RELEASE version of my app from the command line and it will crash. But it won't crash if I execute a RELEASE version of app from VS IDE.
Ok, so can you execute a Debug version of your app in the ide? I'm assuming yes..
Then can you execute a Debuf version of your app from the command line?
If you can execute a release version from the IDE and then the same command line version caughs up a furball. Most likely your IDE is defining a different working directory to execute from (settings->general).... Or your IDE is passing in command line options which you aren't when calling from command line....
-
October 24th, 2005, 08:01 PM
#19
Re: Release version of application crashed!!!
In the registry, you can specify a particular debugger to get invoked when an application that isn't currently being debugged crashes.
google for the "AEDebug" regkey. You could probably set the VS debugger to attach itself when the app crashes.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|