Knowledge Base
Home > How To > How To debug a crash using Visual Studio
Article 2645
How To debug a crash using Visual Studio
The following method is recommended if you are unable to reproduce the bug using the advplus tool. The benefit of this method is that the debugger will only be used once the crash happens and unlike advplus which is active as soon as it is started.
- If you do not have Visual Studio 2010 installed:
Download and install Visual Studio 2010 Ultimate Trial:- Go to http://www.microsoft.com/visualstudio/en-us/download
- Download and run the Web setup
- In the setup dialog select Customize
- Uncheck everything but Visual C++
- In the Visual C++ tree node uncheck the Itanium binaries
- Continue with the installation
- Once the installation has finished and you have rebooted your system, start Visual Studio 2010
- At the first start you are prompted to select the default layout/profile:
Select Visual C++
- Start SmartFTP
- A soon as it crashes you will now see a new Debug button in the post mortem crash handler
- Click Debug
- In the Visual Studio debugger dialogs select Open new instance
- Visual Studio starts and will download the symbol files for the system binaries from the Microsoft Symbol Server
- On the Debug menu, select Save Dump As....
- Choose where to save the dump file. Select with Heap in the type selection box.
- Zip/Rar/7z the .dmp file and upload it to a server of your choice (e.g. www.rapidshare.com)
- Email us the link to file.
Please contact us if you would like these steps to be performed by us. All we require is a remote session to the system (e.g. Windows Remote Desktop, LogMeIn, TeamViewer, etc) for a short time.
Keywords
crash
Related Articles
How to collect crash reports
What do you think about this topic? Send feedback!
