How to set a software watchpoint in netX Studio?
- Plamena Marinova
Owned by Plamena Marinova
2017-11-14
2 min read
Loading data...
Q
How to set a software watchpoint in netX Studio?
A
Setting a watchpoint from the Breakpoints view
- Open the Breakpoints view menu (white arrow at the top-right corner of the view)
- Select 'Add Watchpoint (C/C++)...'
- Fill the 'Expression to watch' field, e.g. type a global variable name or a memory address
- Click 'OK' to create the watchpoint
The watchpoint should now appear in the Breakpoints view
The watchpoint should be hit when the variable or memory address in the watch expression is written to
Click here to see screenshots...
Setting a watchpoint from the Outline view
The easiest way to set a watchpoint on a global variable before starting a debug session is to use the Outline view:
- Open the Outline view from 'Window > Show View > Outline'
- Right-click on the variable and select 'Toggle Watchpoint'
- Edit the watch expression if necessary and click 'OK' to create the watchpoint
Click here to see screenshots...
See also...
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: