Visual Studio 2010 debug minidump
- by Snake
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?