>Set a breakpoint on *memory* where you watch for that rsThreadDatato get changed. You'll have to set a breakpoint probably in the ctor to then set this memory breakpoint, then you'll find every time this memory changes and hopefully you'll see somewhere in your code that is changing the memory.
Unfortunately I don't believe I can; I can get the address of the structure
to see its contents... but that's no good, we have a pointer / reference to
that structure and we need to see when THAT changes - but it seems both
rsThreadData (inside WaitForRX() ) AND psThreadData (outside WaitForRX() )
are held in registers {:v(
So when it hits the breakpoint you have on that if( ), double-click backwards through the call stack and check the parent functions values for that variable, see if they are wrong too.
_______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
