Home > How To > How To debug a crash using Visual Studio
Created 17 Dec 2010
Modified 12 Feb 2017
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 installed:
Download and install Visual Studio Enterprise Trial:
- Go to https://www.visualstudio.com/downloads/
- Download and run the web setup
- Uncheck all optional features
- Click on Install
- Once the installation has finished and after you have rebooted your system, start Visual Studio
- 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. zippyshare.com, 1fichier.com, mega.co.nz)
- 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.