Skip to content

NewbySlime/Lua-Debugger-GUI

Repository files navigation

ko-fi

Lua Debugger

A debugger made for Lua with Graphical UI made using Godot 4.3.

Lua Debugger

This is a part of a project: Lua-Debug-API

Features

  • Easy to use debugging options.
  • Breakpoint feature.
  • Code viewer with line indicator for which line it currently runs.
  • Variables can be viewed in the variable inspector window.
  • Integrated console window for Lua IO.

How To Use

Open the program, then Open the target Lua source code Open Program

Run it! Run File

Debug options will be available when running the source code

Use Console Window to give input to Lua Console Input

Building

Run the makefile in src/lua_api.make, the instruction are almost the same with Lua-Debug-API. Since the makefile is modified, suited for this build case, we'll have to slightly change how we build.

mingw32-make --file=src/lua_api.make --directory=src/Lua-CPPAPI f_use_mingw proc_compile

Run Sconstruct file in the root folder to build Godot user library.

scons target=template_release

For more info, refer to this site from Godot docs.

Open Godot with this project, and build it in the Project/Export menu. Export Menu

Known Problem

  • Pausing or Stopping while running thread blocked due to IO Library will cause the whole program to hang.

Planned Features

Note: the list is ordered by priority, top is highest priority, bottom is lowest priority.

  • Reference List (holding Table and Function values as reference)
  • Editing values using VariableWatcher (not yet for Table and Functions)
  • File editing
  • Stack view (containing currently running functions)
  • Seperating debugger and user programs by using IPC (in case of the Lua program does not respond)?
  • Stats monitor
  • Breakpoints
  • Partial reveal for VariableWatcher

Contributing

Any contributions are appreciated, make sure to state the problems in the app or wanted features. You might also want to expect on some short delay in merging since I'm still in University.

As simple as reporting an issue also helps the project to grow!

About

Lua debugger tool with GUI using Godot 4

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages