CodeXL - Cannot debug kernel on AMD GPU

Discussion created by gallickgunner on Jan 14, 2019
Latest reply on Jan 17, 2019 by gallickgunner

So I'm trying to debug my kernel because it crashes somewhere. I've tried the latest version of CodeXL 2.6 and 2.5 and 2.0 release as well. But every release fails to work for me. I have a 7950.


There are 2 main problems. On all versions I cant seem to open the source file for my project. The kernel file opens and I can set breakpoints but I can't enter it. Here is the message when I click on the yellow arrow.



As you can see, it successfully stops at EnqueueKernel call but I cant seem to view the file. When I press Step In here, nothing happens and it moves to the next call which is clFlush(). This happens on 2.6 and 2.5 release. Note that I have my program compiled using (-g). I'm using MinGW and CodeBlocks and compiling the Debug version.


On 2.0 release I can get inside the kernel But after I press StepIn or StepOver, I get this screen


After some time codeXL comes out of it and gives me this. Can anybody tell me what's going on. I have another question pending in OpenCL section since I cant debug it :s