breakpoints not working

breakpoints not working

I'm having a very odd problem with one of my projects. If I set breakpoints graphically in the IDE they are completely ignored, the debugger just runs without stopping. If I use Debug->New Breakpoint->Function main, then a breakpoint appears at the correct place at the start of main but when I run the debugger it stops in the middle of an enum in a header file. The Locals window shows argc & argv but Autos show the enum values.

I've tried rebuilding several times, deleting the ncb, and even recreating the project from scratch but nothing helps. Somehow synchronization gets lost between the source code and the breakpoints.

I'm using W_CC_PC_8.0.048_PE052.1 with Visual Studio 2003 on Windows 2000 Pro. Debug format is /ZI.

Any suggestions on how to fix this?


1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.