Attention Code Warrior Support (and Palm):

It would be REALLY nice to have Watchpoints (conditional breakpoints) from
CW6.
Even if there is no hardware support can't the following be done?
1) Developer enters a conditional breakpoint
        (example: when my loop variable i starting at 0 reaches 248 then
break)
2) Developer hits F5 key to go to next breakpoint
3) CW now sets a "fixed" unconditional break point (as seen by Palm OS)
4) Palm executes code until breakpoint is hit.
5) Control goes back to CW.
6) CW does a comparison and sees that the condition does not evaluate to non
zero.
7) CW simulates the same response back to Palm as if the developer hit F5
(go)
Repeat steps 4 to 7 until condition is non zero (i = 248 in this case).

This may not be a "purist" best fix approach to implementing conditional
break points
BUT it is a LOT better than me hitting F5 many times manually
or recompiling the code with explicit checks on the loop variables to get
control.

I don't care if the debugger runs a little slower doing this.
It is still much faster than me hitting F5 247 times!

What I was doing Saturday was testing in low memory conditions where adding
code and inserting a larger PRC into the test may have changed the behavior
of what I was trying to debug.


Regards,
Randy Maxwell
([EMAIL PROTECTED])

-----Original Message-----
From: Steve Mann [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 11, 2000 8:39 AM
To: Palm Developer Forum
Subject: Re: CodeWattiot Watchpoints


>If you need one in
>POSE, you can find the address of the variable to watch, then set your own
>in the "Settings/Breakpoints" dialog -- enter the address into the data
>breakpoints.

Ben:

Thanks for that information. I'll give it a try.

Regards,
Steve Mann
-- 
-------------------------------------------
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461              805.784.9462 (fax)
[EMAIL PROTECTED]       http://www.cdpubs.com

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

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

Reply via email to