Post by joe us » Tue, 30 Jul 2002 21:04:33

Is it just my installation, or does not "Watchpoints" work in v8.1?

I'm using OS X 10.1.5.




Post by MW Ro » Wed, 31 Jul 2002 01:08:54

Quote:>Is it just my installation, or does not "Watchpoints" work in v8.1?

>I'm using OS X 10.1.5.

Watchpoints do not work with GDB at this time.  We are working on some
sort of work around but for now there is nothing.


           CodeWarrior Learning Edition v3
   Professional C/C++ and JavaTM programming made easy!

 Metrowerks, maker of CodeWarrior  -  "Software Starts Here"  


1. Watchpoints

The newer GDB versions support watchpoints in this fashion (e.g. gdb 4.4).
I am not sure if the gdb version that WRS distributes has them since they
are fairly new.  You can try the gdb command "info watch" to see if it knows
about them.  Like someone mentioned earlier, the watchpoints are real SLOW
since they check every instruction for a reference to the location.  They
do not totally disable interrupts though so things still run to some extent.
Anyway, the best solution would be to use some HW support like an emulator
or logic analyzer.  Fred

   |  Fred J Roeber,  Raytheon Submarine Signal Division   |
   |  1847 West Main Road,  Mail Stop 188                  |
   |  Portsmouth, RI  02871-1087  (401) 847-8000 (X4205)   |
   |                                                       |


2. sys volume resizing clusters

3. MIPS, breakpoints, watchpoints problem

4. Problems with 1st networks(no sleep)

5. Conditional watchpoints

6. jpeg or gif viewer?

7. Problems with watchpoints

8. More FSIP questions

9. debugger: seeing strings, evaluate arbitrary expressions, real watchpoints

10. Debug watchpoints in CWSDPMI.

11. watchpoints in EZ-ICE emulator?