You need to temporarily insert a variable that the debugger can check, without casting. An easy one would be bool b = ((DWORD)&rsThreadData == 0x00000001);
and then set the condition to check for b == true >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Jason Teagle >Sent: Monday, February 21, 2005 8:22 AM >To: [email protected] >Subject: [msvc] BrReakpoint When Condition Met? > > >VC6 > >I'm trying to set a breakpoint so that it ONLY breaks when a certain >variable's value becomes something specific, but I can't get >the darn thing >to accept the breakpoint. > >I want it to break when > >(DWORD)&rsThreadData == 0x00000001 > >in file > >MyCommsCtl.cpp > >function > >WaitForRX() > >... but it refuses to allow that. How do I do this?! How do I >use the Data >breakpoint feature? > >Grrr... > >-- >Jason Teagle >[EMAIL PROTECTED] > > > >_______________________________________________ >msvc mailing list >[email protected] >See >http://beginthread.com/mailman/listinfo/msvc_begi>nthread.com >for subscription changes, and list archive. > _______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
