Hi,
Since some time, I am working at a refactoring and add new features on the LDT's debugger. To start, I've refactored the introspection part, to allow to plug custom inspectors for userdata. I will explain this part in detail in a future thread.
A first application of this work is a plugin to inspect LuaJIT FFI data (called "cdata"). Is allows you to browse FFI structure, change any value, ...
To test this, you have to:
- Build LuaSocket from unstable (stable versions done not have LuaJIT support, yet). I may provide a Windows binary build if there is a demand for it.
- Replace your existing debugger.lua file by this one: http://gist.github.com/jdesgats/5383865/raw/56591f94f48a253a821a5610525b402206c3df96/debugger.lua
- Require the debugger.plugins.ffi after starting debugger, so the staring code should look like
require"debugger"("localhost", 10000)
require"debugger.plugins.ffi"
This plugin is just a wrapper around Peter Crawley's Reflect[1] module. Many thanks to him for this wonderful library 
This work can also be found on my LDT fork on github[2].
This stuff is currently in alpha stage (tested only under Linux) and may contain bugs, please send your feedback if you encounter any problem. Have fun
[1] http://comments.gmane.org/gmane.comp.lang.lua.luajit/87
[2] http://github.com/jdesgats/org.eclipse.koneki.ldt/tree/newintrospection/libraries/luadbgpclient
[Updated on: Fri, 17 May 2013 04:31] by Moderator