views:

186

answers:

2

I have seen that sometimes breakpoints cannot be enabled in Visual Studio, they appear as empty circles, with a warning sign when enabled. This icon change is all the information VS gives.

Particularly I'm suffering that in a Windows CE 6.0 project where I cannot enable any breakpoint in any of the sub-projects or in the OS design. The target platform in this project is a Vortex x86 embedded board, I use KITL for remote debugging.

How can I retrieve more information about what is happening? Is it not possible to use breakpoints in my case?

A: 

Are you running/compiling a debuggable version of your projects - I seem to remeber if there were no symbols loaded then this was the casE?

Jim
Yes, I'm compiling for debug. .pdb files are also created. Should I check something else?
Jaime Soriano
+3  A: 

The hollow circles with the yellow warning sign are OK. The breakpoint should instantiate once the module that holds that breakpoint loads.
This of course happens in a debug image only.

Shaihi
Yes, I have tried to ignore the emptiness of the circles, but no luck...
Jaime Soriano
Did you try to put a breakpoint using DebugBreak() explicitly?
Shaihi
Ok, as you said, the hollow circles were ok, I finally have the breakpoints working enabling the kernel debugger (IMGNODEBUGGER=1) and running the application from the Target->Run Programs... dialog.
Jaime Soriano