jupyter-cpp-kernel icon indicating copy to clipboard operation
jupyter-cpp-kernel copied to clipboard

Debugging with C++ kernel

Open shiroinekotfs opened this issue 7 months ago • 1 comments
trafficstars

This feature allows debugging on the C++ kernel, including memory manipulation.

There are 2 plans available:

  • Using gdb (if possible). It also leads to the compilation of the program must also be compatible with gdb. The user may also need to install gdb on the computer, which will allow C++ kernel calls.
  • Using the assembly-compatible mode. Most of the g++ allow compiling into the assembly file, instead of the binary file. However, it will least favorable, since it either only compiles the C++ into ASM, for both binary and ASM (time-consuming).

shiroinekotfs avatar Apr 12 '25 17:04 shiroinekotfs

I think gdb is not applicable for the current design of C++ kernel. You should implement the second or try the better solution.

anhvlt-2k6 avatar May 20 '25 00:05 anhvlt-2k6