How to debug with PVF on visual studio 2008 ?

It aways stop response when I debug the program on VS2008, is there any other good way to degug the openacc program? Or, how to debug with PVF on VS2008?

Thanks very much!

Hi HuWei39533,

For various technical reasons, we don’t support debugging of accelerator compute regions. It is something we’re working towards but wont be available in the near future.

  • Mat

Even the normal part can not be debug when there is an accelerator compute region in the program?

Even the normal part can not be debug when there is an accelerator compute region in the program?

You can still debug the host code even if there are accelerator regions. Though, “-acc” will force “-O2” so you will be debugging optimized host code, which it’s always easy to do. Instead, it’s better to start by debugging your program without OpenACC enabled. Once you know your program is correct, then start enabling OpenACC.

  • Mat