-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Description
Implement info locals
for all the kernel arguments and local variables.
Expected:
- Debugger shows all the local variables names inside the numba-dppy kernel when a user calls
info locals
. - Debugger shows the values of these local variables when a user calls
info locals
orprint variable
. - Debugger shows a type of the local variables
ptype variable
. - User can reset local variable value.
Current state and issues:
- Some kernel arguments are optimized out when we set optimization level to 1 (by default). Disabling optimization ("-O0") causes segfault due to unsafe address space cast. Solution is in progress: Removing kernel wrapper function #364
- Local variables created inside a kernel don't have a LLVM debug tag Debugger: DWARF tag is not generated for local kernel variables #320. Temporary workaround was made to Numba (Remove checking on user variable to emit all debug info numba#217). TODO: update results with Numba 0.53.
- For some reason GDB with Numba shows variable values only on the second entry to the compiled function. Double function call in Numba #382
Metadata
Metadata
Assignees
Labels
debugRelated to #149Related to #149