>>> "Chris Sutcliffe" <[EMAIL PROTECTED]> 14/06/2007 15:55 >>>
>I've got it all working now...
>Moving wscite to being right off the root (i.e. C:\wscite) solved the
>remaining issues.  It would be nice if scite_gdb would support spaces
>in the path though.

Hi Chris,

Well, I'm glad you've managed to hack around the limitations ;)
Sorry about the delay, I was nursing a bad tooth.

I agree that it is irritating to have to specify debug.target
in the user properties, in those important cases where
scite-gdb can't guess the target. Any suggestions would be
welcome!

It was easy to reproduce the problem, and to find a hack:
just put double-quotes around the debug.target:

debug.target="c:\Program Files\SciTE Test\test1.exe"

But here's the proper fix! In gdb.lua, after line 273
where the target has just been discovered, insert:

        if find(target,"%s")  and sub(target,1,1) ~= '"' then
                target = '"'..target..'"'
        end

I will have a new improved version of scite-gdb available on
Monday:
- apart from gdb, can do mdb (Mono Debugger), jdb (Java)
  and pydb (Python!). These are less complete implementations
  but I've successfully generalized the code to handle new
  cases.
- Can kill a running program
- All those commands in the Tools menu are filled in only when
  they're needed (after launching the debugger for the first
  time)
- there is a Lua interpreter prompt available when the 
  debugger is not active. 
- runnaway recursion would completely freeze the
  interface.
- some subtle threading issues handled which were
  occaisionally bringing down SciTE in flames.

Honestly, one of my major problems is deciding what
damn shortcuts to use! Things like Alt+R don't work
in GTK, and Ctrl+Alt+R are somewhat awkward.

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

Reply via email to