April White wrote:
I think I am going to rethink my approach to the job system under
Linux, to minimize the changes. Back to the drawing board.
Success!
I have to remove all of my debug code, document my changes, and remember
how to connect to the site where I've stored previous versions in
April White:
Okay, only the 'Go' command, but it works. I'll try the change I made
to the SciTE/Lua interface, where I added scite.Execute()
Good! Shouldn't be much more work to add the other commands.
Neil
___
Scite-interest mailing list
On 7/16/07, steve donovan [EMAIL PROTECTED] wrote:
I think you're going to need threads!
On mature reflection, threads are more trouble than they're worth. One
still has the old problem of communicating with a GUI thread, which
SendMessage does for us semi-magically.
Instead, when a job
April White wrote:
... And the GTK source compiles, but no job runs - ...
I think I know why it is not running the commands in Linux. In the
win32 changes, when a command is added the program broadcasts a message
IDM_JOBS, which in turn starts the execution of jobs. I did not
implement
April White:
Thanks Mitchell. I did compile with DEBUG=1, and followed the steps
above, but I did not get a segfault while executing a tool - nothing did
happen - but I did get a double free or corruption when I exited
SciTE. The results of 'back' were vague and useless, showing a few
Neil Hodgson wrote:
There are various memory debuggers. I've found Valgrind useful on
Linux.
Thank you for reminding me. I've seen it discussed on other lists, and
I also saw it in the list of packages. I just have to remember to try it.
There is no close equivalent to SendMessage.
Now this is _exactly_ why I wanted to do simple debugging when still
inside SciTE! kdevelop,anjuta, etc are overengineered nightmares.
You can't write a hello,world!' program without choosing a licence
and creating a makefile. So Mitchell's advice is pretty good.
steve d.
On 7/14/07, Neil
April White:
So the rhetorical question is, how do I debug this? My Linux experience
is really limited, heck I cannot even find where aliases are set nor
change one to suit my preferences. Well I can type in the command, but
I want to put it into my start up script - which I did - but it does