cuda-gdb转载:http://book.51cto.com/art/201301/376309.htm
I had a similar problem using Parallel Nsight. It only showed the first blocks of my configuration. From the Parallel Nsightâ„¢ 2.0 User Guide I read about Choosing a Block and Thread of Interest: The block text field will show you valid indices as you type - you can only choose blocks that are currently executing on the GPU hardware. So, to see another blocks I must use a conditional break point.
cuda-gdb相关切换不了block的相关解决方案:https://devtalk.nvidia.com/default/topic/511934/why-doesnt-cuda-focus-change-to-requested-block-cuda-debugging-unable-to-change-focus-to-requested/