DbgBreakPoint causing a bugcheck (with WinDBG connected)

This happens quite often… WinDBG is connected to a VMWare Windows 7
machine, that is set up with VirtualKD.

But if my code has DbgBreakPoint() and I try to step over/into or Run
to cursor, it causes a bugcheck.

Any clues?