cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

wscrosswy
Journeyman III

GDEBugger - Host Code Breakpoints, Kernel Variables

I'm working in Visual Studio 2010 Pro on a small OpenCL project. Here's my setup:

-----------------------------------------------------------------
Environment:
AMD APP SDK: v2.4
Catalyst Driver: v11.7 (early version for gDEBugger)
gDEBugger: v6.0

Hardware:
AMD Brazos APU (Fusion)
----------------------------------------------------------------- 

I have two problems:

1. I'm trying to debug my program with gDEbugger, but breakpoints in my host source code don't currently work - they say "C/C++ source code breakpoints are not currently supported by gDEbugger". The thing is, I could swear I've had this working before, and some documentation leads me to believe it actually IS supported:
http://developer.amd.com/afds/assets/presentations/2908_3_final.pdf

2. When stepping through a kernel, not all local variables are visible. For example, in a 640x480 global-workspace kernel, the variable
int2 coord = (int2)(get_global_id(0), get_global_id(1));
can never be evaluated, and never shows up in the "Locals" window.

Any thoughts?

 

Thanks in advance,
Spencer 



0 Likes
1 Reply
lbin
Staff

Hi wscrosswy

Thanks for using gDEBugger.

The 1st problem, You can only use gDEBugger->New breakpoint to set breakpoints on CL/GL functions and OpenCL kernel.

The 2nd problem you encountered is documented in our release note:

http://developer.amd.com/tools/gDEBugger/assets/AMD%20gDEBugger%20Release%20Notes.pdf

We are currently working on these issues.

0 Likes