Click here to Skip to main content
15,902,299 members
Home / Discussions / C#
   

C#

 
GeneralRe: can i drive a class from a delegate Pin
leppie6-Jul-08 9:17
leppie6-Jul-08 9:17 
GeneralRe: can i drive a class from a delegate Pin
Pete O'Hanlon6-Jul-08 9:24
mvePete O'Hanlon6-Jul-08 9:24 
GeneralRe: can i drive a class from a delegate Pin
leppie6-Jul-08 9:45
leppie6-Jul-08 9:45 
AnswerRe: can i drive a class from a delegate Pin
N a v a n e e t h6-Jul-08 4:05
N a v a n e e t h6-Jul-08 4:05 
QuestionC# WINFORMS' Threading Apllication halt while Desktop Theme Change Pin
S Raheel Noor6-Jul-08 3:11
S Raheel Noor6-Jul-08 3:11 
QuestionApplied Application Development - Book recommendation sought [modified] Pin
DwR6-Jul-08 2:29
DwR6-Jul-08 2:29 
AnswerRe: Applied Application Development - Book recommendation sought Pin
DwR6-Jul-08 23:26
DwR6-Jul-08 23:26 
Questionerror display variable value/type Pin
George_George6-Jul-08 2:13
George_George6-Jul-08 2:13 
Hello everyone,


I am using the following commands in Windbg to debug the following simple application, why there is error like, "Note: this object has an invalid CLASS field
Invalid object"?

0:004> ~0e!clrstack -a
OS Thread Id: 0x1194 (0)
Child-SP         RetAddr          Call Site
RSP/REG          Object           Name
RSP/REG          Object           Name
RSP/REG          Object           Name
RSP/REG          Object           Name
RSP/REG          Object           Name
000000000012efe0 0000064280150182 TestDebugManaged1.Program.foo()
    PARAMETERS:
        this = 0x0000000002651ac8
    LOCALS:
        0x000000000012f000 = 0x0000000000000064
        0x000000000012f004 = 0x0000000000000001

RSP/REG          Object           Name
000000000012f020 000006427f67d4a2 TestDebugManaged1.Program.Main(System.String[])
    PARAMETERS:
        args = 0x0000000002651aa8
    LOCALS:
        0x000000000012f040 = 0x0000000002651ac8

0:004> !do 0x000000000012f000
<Note: this object has an invalid CLASS field>
Invalid object

0:004> !do 0x000000000012f004
<Note: this object has an invalid CLASS field>
Invalid object

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;
        }
    }
}



thanks in advance,
George
AnswerRe: error display variable value/type Pin
Christian Graus6-Jul-08 9:21
protectorChristian Graus6-Jul-08 9:21 
GeneralRe: error display variable value/type Pin
George_George6-Jul-08 16:04
George_George6-Jul-08 16:04 
GeneralRe: error display variable value/type Pin
leppie6-Jul-08 21:11
leppie6-Jul-08 21:11 
GeneralRe: error display variable value/type Pin
George_George6-Jul-08 21:31
George_George6-Jul-08 21:31 
AnswerRe: error display variable value/type Pin
S. Senthil Kumar6-Jul-08 23:45
S. Senthil Kumar6-Jul-08 23:45 
GeneralRe: error display variable value/type Pin
George_George7-Jul-08 2:28
George_George7-Jul-08 2:28 
QuestionI want a code login on C#.net pleas Pin
koromankung6-Jul-08 2:05
koromankung6-Jul-08 2:05 
Questioncan not set breakpoint [modified] Pin
George_George6-Jul-08 2:00
George_George6-Jul-08 2:00 
AnswerRe: can not set breakpoint Pin
leppie6-Jul-08 3:50
leppie6-Jul-08 3:50 
GeneralRe: can not set breakpoint Pin
George_George6-Jul-08 15:51
George_George6-Jul-08 15:51 
AnswerRe: can not set breakpoint Pin
Tony Richards6-Jul-08 10:40
Tony Richards6-Jul-08 10:40 
GeneralRe: can not set breakpoint Pin
George_George6-Jul-08 15:52
George_George6-Jul-08 15:52 
QuestionHow to execute oracle procedure in c# Pin
Puneri6-Jul-08 1:29
Puneri6-Jul-08 1:29 
AnswerRe: How to execute oracle procedure in c# Pin
darkelv6-Jul-08 2:18
darkelv6-Jul-08 2:18 
QuestionmdiChild Form Pin
zeeShan anSari6-Jul-08 1:28
zeeShan anSari6-Jul-08 1:28 
AnswerRe: mdiChild Form Pin
DaveyM696-Jul-08 1:38
professionalDaveyM696-Jul-08 1:38 
GeneralRe: mdiChild Form Pin
zeeShan anSari6-Jul-08 1:54
zeeShan anSari6-Jul-08 1:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.