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 2013 installed:
Download and install Visual Studio 2013 Ultimate Trial:
- Go to http://www.microsoft.com/visualstudio/en-us/download
- Download and run the web setup (Install now)
- 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. 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.
How to collect crash reports
What do you think about this topic? Send feedback!