isovector / adventure

an open-source MOAI based point-n-click graphical adventure engine
Other
26 stars 3 forks source link

Develop a debugger for lua scripts #3

Closed isovector closed 12 years ago

isovector commented 12 years ago

Debugging embedded lua at the current time is tedius at best. A single nil call will knock out the entire execution thread, and leave no indication of where the problem is. It would be great to be able to set breakpoints and step through the code, at the very least. Reflection would be even better.

isovector commented 12 years ago

Initial support for breakpoints is implemented! We still need a mechanism to pause on breakpoints (I am thinking an IUP dialog) with support for inspecting data.

Perhaps CLI would be fine too - maybe gdb-esque syntax?

isovector commented 12 years ago

You can now press F9 in scite to set a breakpoint. Works during runtime, even :)

isovector commented 12 years ago

Disowning this task until we have a more solid idea of what to accomplish with this.