Breaking inside kernel in emuDebug mode

I can break inside kernel for the cuda sdk samples.
But in my development project, I just cant use a breakpoint inside any kernel.
I get “The breakpoint will not currently be hit. No symbols have been loaded for this document.”

I can break inside all host functions (other cu files) and watch the variables without problem.

Under project settings for cuda build rule I have:
Generate Debug info : Yes
Emulation mode: Yes
Optimizations: Disabled
Other settings are at default.

The kernel file has been excluded from build.

Please advice.

Cuda SDK 2.3
OS: Windows XP Professional SP3
GPU: 9400GT

Well it was a silly mistake:
Cuda code was inside a library and the application project was linking with the debug version of the library and not the emuDebug.