With the variable highlighted, choose "Set Watchpoint" from the Data menu.
You can also drag the variable into the watchpoint window.

If you highlight the pointer, then select view memory, you'll see the
pointer's memory location.

BTW, if you're having problems setting breakpoints, make sure your "Global
Optimizations" in the project settings are set for larger code.

Regards,

Steve

> -----Original Message-----
> From: Frey, Kerry [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 21, 2000 11:04 AM
> To: Palm Developer Forum
> Subject: Finding pointer value while debugging 
> 
> 
> I have a pointer to a structure.  The structure is in the 
> first segment, the
> pointer is in the second segment.  During execution, the value of the
> pointer becomes garbage. 
> 
> 
> 
> Question 1. How do I set a watchpoint in CodeWarrior?  The options are
> always greyed out when I'm debugging. 
> 
> Question 2. When I do a "View Memory", I see the structure 
> pointed to.  How
> can I view the actual pointer location? 
> 
> 
> 
> Kerry Frey
> 
> Consultant
> 
> Mobile Computing Practice
> 
> Noblestar Systems Corporation
> 
> http://earchitectures.noblestar.com/mobile/home.html
> 
> 703-464-4000 x3017
> 
> Direct Fax 703-464-4254
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to 
> unsubscribe, please see http://www.palm.com/devzone/mailinglists.html
> 
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to