uVision4: can debug in disassembly window but not source code windows

I am using the STM32-Discovery board(ST-Link debugger chip connected via SWD interface (no JTAG) to STM32F100VB 32 bit CortexM3 processor) with uVision4(evaluation version, though code is way under the 32k limit).

I can look at memory & registers, and debug & set breakpoints in the disassembly window, but can't debug or set breakpoints in the regular source code windows.

I also can't program with uVision but this is not a problem. Just using the ST-Link utility program instead.

Does anyone know what would be causing this?

Thanks,
Dusty

More questions in this forum