Very Simple Lua Debugger based on RemDebug

Showcase your games and demos, and discuss ongoing projects.

Very Simple Lua Debugger based on RemDebug

Postby hagish on Fri May 20, 2011 10:11 am

After taking a look at RemDebug I decided to write a small gui and try if I can use this within Löve.
The result is a small and very basic graphical lua debugger based on a modified version of RemDebug.

It is crossplatform but I only did the build scripts for linux.


Some steps to try it out:

* (ubuntu 11.04) apt-get install liblua5.1-filesystem-dev liblua5.1-socket-dev git cmake g++ libpoco-dev libboost-all-dev libwxbase2.8-dev libwxgtk2.8-dev
* git clone git://
* git clone git:// ... -Steam.git
* cd lua-debugger/build
* cmake .
* cd ..
* ./lua-debugger
* (another terminal) cd A-Whiff-of-Steam/proto/proto1
* vim main.lua
Code: Select all
function love.load (args) -- search for this line
        require"remdebug.engine"  -- add these two lines
        remdebug.engine.start() -- add these two lines

* vim
Code: Select all
# remdebug, lfs, luasocket
export LUA_PATH
# lfs, luasocket
export LUA_CPATH

love .

* ./
* now a new tab should open bad you see the A-Whiff-of-Steam main.lua code
User avatar
Posts: 85
Joined: Thu May 01, 2008 12:51 pm

Re: Very Simple Lua Debugger based on RemDebug

Postby vrld on Fri May 20, 2011 11:25 am

This is awesome! Thank you so much for this!

Two improvements:
  • Make the command window on the bottom resizeable.
  • Add keyboard shortcuts for adding breakpoints, stepping and so on.
When I was a kid I used to pray every night for a new bicycle. Then I realised God doesn’t work that way, so I stole one and prayed for forgiveness.
hump Helper Utilities for Massive Productivity | HC Collision detection | Quickie Easy GUI Library
User avatar
Party member
Posts: 864
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany

Re: Very Simple Lua Debugger based on RemDebug

Postby bartbes on Fri May 20, 2011 2:15 pm

It looked awesome, but after 5 mins of compiling poco I just gave up..
Cowardly acts and the eating of birds must not be the deeds of a Hero of Storms.
User avatar
Sex machine
Posts: 4541
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands

Return to Projects and Demos

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests