> CW, R6 - do watchpoints work at all? Is this another Win2000 issue?
>
> I finally had a need to use one, only to spend ten frustrating minutes
> trying to figure out how on earth to get the menu item enabled to set one.
I
> have finally concluded they simply aren't implemented at all, or there is
> some bug that completely prevents the menu item from being accessed. Am I
> missing something here? If followed the instructions in the HELP file to a
T
> and it certainly doesn't work the way it claims to work. No error message,
> no indication.

I don't think its Win2000 -- there just isn't a way to do a watchpoint
correctly on the real Palm hardware.  Watchpoints work on a desktop OS like
Win2000 because you can play with the virtual memory manager to unmap pages
of memory, then intercept the page fault to catch the memory address.  The
x86 chips also have some hardware registers that can be set to interrupt
when a particular memory location is used.  The Dragonball chip doesn't have
that kind of hardware support.

On the other hand, it seems like there should be a way to do a watchpoint
using the Palm OS Emulator.  You can do it manually by using the "data
breakpoint" feature -- right click on the window, go to
Settings/Breakpoints.  Use the debugger to find out the address of the
memory you want to watch, then enter it directly.  It would be good to
suggest to MW/Palm that this feature be automated.



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

Reply via email to