That didn't work for me. I also tried: 



To set a watchpoint using drag-and-drop:

1.      Select a variable from the Variable window.

For details on viewing variables, see View variables or View local
variables.

2.      Choose Watchpoint Window from the Window menu.

A Watchpoint window appears.

3.      Drag the highlighted variable from the Variable Window to the
Watchpoint Window.



After that, I got Debugger Error 101700: Watchpoints are not supported on
this configuration. 



I'm using POSE 3.0a3, and R6 (IDE About box shows IDE 4.0.1 build 0436), and
my "Global Optimizations" are set to Level 1.



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





> 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

> 

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

Reply via email to