CUDA 10 Toolkit Sample project

If you create the default CUDA project for CUDA Toolkit 10.0

Try setting a breakpoint on line 11 or 12 in kernel.cu

Run the Nsight CUDA debugging (Next-Gen).

The breakpoint stops but on line 15 (on main) and you cannot debug the addKernel kernel.