Forums
does Embitz have watchpoints - Printable Version

+- Forums (https://www.embitz.org/forum)
+-- Forum: EmBitz - Public (https://www.embitz.org/forum/forum-16.html)
+--- Forum: EmBitz IDE (https://www.embitz.org/forum/forum-3.html)
+--- Thread: does Embitz have watchpoints (/thread-941.html)



does Embitz have watchpoints - jheissjr - 15-08-2018

I saw a tutorial on Mcuoneclipse.com discussing watchpoints in Eclipse and CDT. I have used them and they come in handy at times. Does EmBitz have watchpoints?

https://mcuoneclipse.com/2018/08/11/tutorial-catching-rogue-memory-accesses-with-eclipse-and-gdb-watchpoints/


RE: does Embitz have watchpoints - escalator - 25-08-2018

(15-08-2018, 02:18 PM)jheissjr Wrote: I saw a tutorial on Mcuoneclipse.com discussing watchpoints in Eclipse and CDT.  I have used them and they come in handy at times.  Does EmBitz have watchpoints?

https://mcuoneclipse.com/2018/08/11/tutorial-catching-rogue-memory-accesses-with-eclipse-and-gdb-watchpoints/

yessir.


RE: does Embitz have watchpoints - AVI-crak - 26-08-2018

Good function, but it's not here.
The monitoring point stops the program execution when reading or writing to the monitored memory location. Then you can find the culprit of the failure.


RE: does Embitz have watchpoints - Melvinson - 31-08-2018

What are watchpoints useful for btw? Newbie here.


RE: does Embitz have watchpoints - jheissjr - 31-08-2018

Watchpoints are like a breakpoints except they stop the program when a read or write occurs at a memory location (variable). You can say stop when variable x equals 10 for example. Watchpoints are implemented in onchip trace hardware so there is no overhead or performance penalty when they are used.

https://mcuoneclipse.com/2018/08/12/tutorial-catching-rogue-memory-accesses-with-arm-watchpoint-comparators-and-instruction-trace/