At 02:16 PM 8/16/2003, Randall Pulsifer wrote:

Has anyone seen this and know what I've got that's screwed up? (Win2k,
CW9.1):

The variable panel shows that the eventP variable is full of "invalid
pointers", however, the usual code (...switch(eventp->eType)) works fine
as does the following, which I broke out the eType to see why my app
still works if the eventP is really faulty.

I've heard reports of this; my theory is that the debug info isn't always generated correctly for the EventType structure and that confuses the debugger, but I've not been sent a reproducible case so that I can see this on my end and actually probe into the code <hint, hint>


You can see where eventP is allocated by looking at the location column. If you don't see it, turn it on using Edit/Preferences..., Debugger/Display Settings, Show variable location. Then, if something's allocated to a register, you'll see it's location as $A3 or similar.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to