Skip to content

spoorcc/jupyter-gdb-kernel

Repository files navigation

DISCLAIMER

This repo is currently in a very-very alpha stage and only to show the concept

GDB kernel for Jupyter Notebooks

This kernel can be used to show GDB commands in Jupyter Notebooks. Currently only single lined commands are supported. Also either a gdbserver or access to the notebook server is needed to open a target to debug.

Installation

Make sure gdb version 7+ is installed on notebook server location

python3 -m venv venv
pip install -e .
jupyter-kernelspec install spec/kernel.json

Usage

Create remote debugging target

gcc test/dummy.c -g -o dummy
gdbserver 0.0.0.0:1234 dummy

Start notebook server

jupyter notebook --port=8080 --ip=0.0.0.0 --no-browser

Debug from Jupyter

  • Connect to remote target
  • List source code Screenshot

Development

TODO

About

GDB kernel for Jupyter Notebooks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published