cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

xmuben
Journeyman III

How to debug kernel function

Does anyone know how to debug the kernel function?

My IDE is visual studio 2005. I have set to environment to debug mode.

When stepping into the kernel function, the value of variables can't be read.

thanks for your kindness.

0 Likes
1 Reply
gaurav_garg
Adept I

You can debug CPU backend if you use environment variable BRT_RUNTIME=cpu. To go inside kernel code, you need to disable line generation in CPP file (compile br file with -nl flag).

0 Likes