toggle watchpoint grayed out

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

toggle watchpoint grayed out

1,547 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mspahr on Wed Oct 09 09:57:30 MST 2013
LPCXpresso 5.2.6
LPC11U37
Debug perspective
I highlight a global variable
RUN->Toggle Watchpoint is grayed out.
How can I enable it?

I posted this yesterday and today it wasn't there so I am re-posting.
0 Kudos
Reply
3 Replies

1,260 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Oct 10 03:52:27 MST 2013
I am sorry for the problems you are having with watchpoints.

We have been able to reproduce the problem. It only happens if you have a breakpoint and a watchpoint set at the same time, and you try to remove the watchpoint. As a workaround, until we can provide a fix, you could use watchpoints without breakpoints.
0 Kudos
Reply

1,260 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mspahr on Wed Oct 09 14:36:26 MST 2013
I found that if I highlight the variable where it is defined, the watchpoint works.
If I highlight it in the code, it does not.
Now I have a bigger problem.
I can't disable it.
I tried un-checking the write and enable boxes in the toggle watchpoint box.
I tried un-checking it in the breakpoint list.
I deleted it from the breakpoint list.
I allways keep breaking on it.
Please HELP!
0 Kudos
Reply

1,260 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by whitecoe on Wed Oct 09 11:25:18 MST 2013

Quote: mspahr


I posted this yesterday and today it wasn't there so I am re-posting.



You obviously didn't look very hard. I can see it currently in the list of LPCXpresso forum posts, about 6 threads away from this one!

http://www.lpcware.com/content/forum/toggle-watchpoint-grayed-out

Anyway, I've not tried watchpoints in LPCXpresso recently, but the obvious first thing to try is to make sure that you have highlighted a global variable or address before trying to set the watchpoint.

HTH!


0 Kudos
Reply