Visual Studio 2010 debug minidump
Posted
by Snake
on Stack Overflow
See other posts from Stack Overflow
or by Snake
Published on 2010-06-18T07:44:30Z
Indexed on
2010/06/18
8:03 UTC
Read the original article
Hit count: 211
Hi all,
Consider the following code (written with Visual Studio 2010 and .NET 4.0)
using System;
namespace DumpTester
{
class Program
{
static void Main(string[] args)
{
int test = new Random().Next();
Console.WriteLine(test + new Random().Next());
Test();
}
private static void Test()
{
throw new Exception();
}
}
}
When running outside of Visual Studio you get this nice window of Microsoft Windows 7 that it is looking for a solution. Obviously, since this is my app, there is none. At that point I create a full dump file of my application with for example Process Explorer.
I then open that dmp file from its location and try to debug. But whatever I try, it can't find the location of the source symbols. I tried putting the pdb next to the dump but it just doesn't find it.
What am I doing wrong?
© Stack Overflow or respective owner