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. -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the views of the CSIR. CSIR E-mail Legal Notice http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html CSIR Copyright, Terms and Conditions http://mail.csir.co.za/CSIR_Copyright.html For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR Legal Notice send a blank message with REQUEST LEGAL in the subject line to [EMAIL PROTECTED] This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
