Felix Schenk,
"Development of a Java Debugger Framework Based on the Espresso VM and Its Compilation to JavaScript"
, Eigenverlag, 7-2024
Original Titel:
Development of a Java Debugger Framework Based on the Espresso VM and Its Compilation to JavaScript
Sprache des Titels:
Englisch
Original Kurzfassung:
JavaWiz is a visual debugger for Java designed to aid programming novices and programming teachers by providing various visualizations. These visualizations show intermediate program states. Currently, JavaWiz is distributed as a Visual Studio Code plugin, requiring users to
download the appropriate software and setting up Java.
The goal of this thesis is to make JavaWiz accessible via a website. Thus, with this thesis, a new version of JavaWiz has been implemented which allows running JavaWiz in a web browser. First, a new backend of JavaWiz has been developed based on the Espresso VM by Oracle and the Truffle Debug API. Then, this new backend has been compiled to JavaScript using WebImage.
The thesis presents the implementation of the JavaWiz backend based on Espresso, the necessary modifications for compiling it with WebImage, an approach for handling multiple files with the web version, an approach for loading JavaWiz with predefined examples and a comparison of the performance of the different versions of JavaWiz.