Yu, All,
yes, there's a way.
CodeXL (AMD) tool is capable of debugging single-step source-level wise through ur kernel code at runtime, however, while working relatively straightforward for CPUs certain prerequisites apply to cases of using GPUs (primarily regarding the HW).

Pls check out Link AND ATTACHMENT (pdf) on that site:

http://wiki.tiker.net/PyOpenCL/Debugging

I uploaded text and pdf including the screenshot and config instructions lil while ago.
Joyfully looking forward to some other user-experiences.... :-)

BR from Frankfurt,
Kai

On Thu, Nov 19, 2015 at 9:29 AM, Yu Yang <yy2012cn@gmail.com> wrote:
PyOpenCL is very convenient, but it seems that CodeXL can't debug PyOpenCL project, any solutions? thx

_______________________________________________
PyOpenCL mailing list
PyOpenCL@tiker.net
http://lists.tiker.net/listinfo/pyopencl