VSCode Extension to debug a didactic Kernel image

VSCode Extension to debug a didactic Kernel

Project Overview

A VSCode Extension to debug a didactic Kernel developed as thesis work for the bachelor degree

Skills Used

Typescript Python QEMU Git Scripting

The project tackles the realization of a VSCode extension to create a custom debugger for a multi-programmed kernel used in the course of Computer Architecture of my Bachelor degree.

The project at it’s core uses the Debug Adapter Protocol (DAP) to attach a running session of GDB. The GDB session is monitoring the kernel emulated on QEMU.

This allows for basic debugging functionalities like step by step code execution and current variable context. Furthermore from GDB the extension takes additional information’s regarding the current context of the kernel, in particular what processes are running and in what scope: user or system.

Source Code