ROCm / ROCgdb

This is ROCgdb, the ROCm source-level debugger for Linux, based on GDB, the GNU source-level debugger.
https://rocm.docs.amd.com/projects/ROCgdb/en/latest/
GNU General Public License v2.0
50 stars 9 forks source link

Is it possible to debug loaded kernels? #20

Open jeageun opened 1 year ago

jeageun commented 1 year ago

Hi there,

I'm trying to debug the kernel which is loaded using loadCodeObjectFile, but I can't set breakpoint or step into functions. For the launcher and actual kernel objects are compiled with -g -ggdb -O0 options. However, when I call "hipExtModuleLaunchKernel" which is the function to call actual loaded kernel, it just return to the host, and could not step into the kernel. How could I step into the kernel?

ppanchad-amd commented 1 month ago

@jeageun Apologies for the lack of response. Do you still need assistance with this issue? Thanks!