Steve Donovan a écrit :
Hi guys,
I've recently been working on a Lua extension which allows
you to debug using gdb in your favourite code editor. It
currently only works with extman, but it would not be
difficult to extract the bits. It uses the ability of SciTE
Lua to dynamically load shared libraries; the spawner
library uses the Director interface to pass spawned gdb
output back to the Lua subsystem.
No changes are required to the Win32 build; the GTK
build requires loadlib to be enabled; instructions are
provided.
http://mysite.mweb.co.za/residents/sdonovan/scite-gdb/scite-gdb.zip
For the seriously impatient, there is a packed Sc1 build for
Windows:
http://mysite.mweb.co.za/residents/sdonovan/scite-gdb/sc1d.zip
And there's a modified tarball that can be built which will not
interfere with your current SciTE installation; just unpack and
go ./build (or build.bat); the GTK build will generate a
suitable shortcut (just run ./scited) which removes the
existing director pipe, (due to an annoying 'feature' of
the director interface, which only works if SciTE is
allowed to recreate the pipe).
http://mysite.mweb.co.za/residents/sdonovan/scite-gdb/scite173d.zip
This modified version (apart from the loadlib fix) also enables
Scintilla's tooltips which gdb.lua uses to show symbol values.
Here are all the modified files:
http://mysite.mweb.co.za/residents/sdonovan/scite-gdb/changes173d.zip
I'm interested in generalizing this to work with
other debuggers, (particularly the Mono debugger and
Python) if there's any interest.
steve d.
I would be very interested to debug lua code from scite, would it be
possible ?
Regards
Noël Frankinet
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest