Hello everyone,
When using WinDbg to debug the following simple application, after loading SOS, then I type "!bpmd TestDebugManaged1.exe Program.Foo" to set a breakpoint, there is the error message -- "Found 0 methods...". What is wrong with my input?
[Code]
namespace TestDebugManaged1
{
class Program
{
void foo()
{
int a = 100;
while (true)
{
Thread.Sleep(10000);
a++;
}
}
static void Main(string[] args)
{
Program instance = new Program();
instance.foo();
return;
}
}
}
[/Code]
thanks in advance,
George