Comments (7)
I didn't knew that way
To add a watch point go into the variable window rigth click on the variable , "add watchpoint "
to add a watch point on a global select the global in source or add it manulay to the w watch/expression
view. From the watch view right click , add it as above.
I notice that depending on where is the watch view docked the righ click pop up will not show thsi possibility if so dock it somewhere else (side to breakpoint)
from eclipse-plugins.
That just shows you the value of the variable, I'm looking for something that will break when the variable gets read, written or both.
from eclipse-plugins.
have you tried ?
"add watchpoint" will add an hardware watchpoint , that is what your looking at no ?
for global you have first to add it first to the watch view then you can set watchpoint to it
that will bring you to that dialog
and what it give when you run it
but that is with stlink on a stm32f40 not seeger ?
and this h/w support h/w watchpoint via openocd
what openocd say at connection,
"Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints"
obvisouly if you target mcu do not provide any h/w watchpoint that may not be available at all
from eclipse-plugins.
the support for watchpoints comes from Eclipse CDT, not from the GNU ARM Eclipse plug-ins.
my debugging plug-ins are mainly intended to start the gdb server, to redirect the consoles, to configure everything from the GUI, etc.
from eclipse-plugins.
Thanks diabolo38, I missed that part. It did seem to work when expressions explicitly wrote to the variable, but did not catch the array overrun that was also writing the variable's address. That's what I was hoping to use the watchpoint to find. The JLink eclipse plugin must have something to do with this as the watchpoint address has to make it to the jlink somehow.
from eclipse-plugins.
In the intermediate dialog box you can cope with array size (range) and i suspect you can also change the expression itself to change something like p in *p , x, in x[3] to deal with array.
Note that the JL "chain" must be aware how many and of how to set WP all the wp h/w is on the MCU.
from eclipse-plugins.
@diabolo38, could you write a post in the newly created discussion group, to document your findings on watchpoints? (or any other topics you consider useful)
http://www.element14.com/community/groups/gnu-arm-eclipse
from eclipse-plugins.
Related Issues (20)
- Fix the SiFive RISC-V template HOT 2
- Remove references to Navigator view to support 2023-06 HOT 21
- The disassembly view dosen't show opcode HOT 17
- CMSIS Packs - Read error dialog Abort button has the same effect as Ignore HOT 1
- CMSIS Packs - nomenclature is inconsistent and a little confusing HOT 6
- Support enhanced GNU Tool Factory capabilities introduced in CDT 11.2.0 HOT 5
- Feature request: add option to connect to a different OpenOCD port HOT 40
- openocd plugin has dependency on managedPlugin which is not given in the manifest file HOT 13
- Global RISC-V Toolchains name does not change with dropdown box HOT 54
- Feature request: add live watch support when debug in eclipse ide HOT 12
- Review the logic for setting the PATH with preferXpacksBin HOT 7
- GDB fails when workspace path has extended ASCII characters HOT 8
- 'xpm' is not recognized as an internal or external command HOT 1
- Is it possible to set the timeout when gdb server (such as openocd) starts? HOT 1
- Install CMSIS Pack from local .pack file? HOT 4
- How to pass -Wl,--start-group -lc_nano -lgcc -Wl,--end-group HOT 1
- Feature request: Add a checkbox to enable group linked library HOT 25
- embed-CDT cannot start openocd normally HOT 2
- make: unknown option -- jobserver-auth=gmake_semaphore_172 when using post-build steps HOT 16
- "Interrupt failed" occurred when using GDB OpenOCD Debugging HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eclipse-plugins.