George George

George George

  • NA
  • 778
  • 0

strange name2ee output

Jul 11 2008 2:18 AM

Hello everyone,


Before I start my managed code program (C#), when I execute name2ee command, there is no output, but after the program starts, there is expected output. Any ideas?

(here are the output 2 times and my source code)

[Code]
0:000> !name2ee *!TestDebugManaged1.Program

0:004> !name2ee *!TestDebugManaged1.Program
Module: 0000064278854000 (mscorlib.dll)
--------------------------------------
Module: 0000064280012e20 (TestDebugManaged1.exe)
Token: 0x0000000002000002
MethodTable: 0000064280013580
EEClass: 00000642801421c0
Name: TestDebugManaged1.Program

namespace TestDebugManaged1
{
    class Program
    {
        public 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