- Subject: Re: [slang-users] slang 2 snapshot 8 released
- From: Paul Boekholt <p.boekholt@xxxxxxxxx>
- Date: Mon, 18 Apr 2005 21:34:43 +0200
On Mon, 18 Apr 2005 13:14:57 -0400, "John E. Davis" <davis@xxxxxxxxxxxxx> said:
> Hi,
> this snapshot features a png module and a new debugger called
> sldb.
I see "make install" does not install the files in slsh/scripts, so let
me add that you can copy the "sldb" script to your path and debug a
slsh script by typing
sldb foo.sl
at the command line.
sldb's "print" command gives me a stack underflow. I think this patch
is what is needed:
--- sldbcore.sl~ Mon Apr 18 20:12:10 2005
+++ sldbcore.sl Mon Apr 18 20:37:21 2005
@@ -103,6 +103,7 @@
variable val = ();
(@print_fun) (val);
}
+ return 0;
}
static define break_cmd (cmd, args, file, line)
It's strange that autoload.sl says to autoload sldb() from sldb.sl
when in fact it's in sldbcore.sl, but since sldb.sl loads sldbcore.sl
it works.
I've made an Emacs gud (Grand Unified Debugger) interface for sldb that uses a
tweaked version of sldb.sl. I didn't need to tweak sldb() so that's OK.
You can get the file at
http://www.cheesit.com/downloadfiles/slang/gud_sldb.tgz
It works with Emacs 21.2.1. I know it doesn't work with Xemacs 21.4, but
if you have the lisp source for your gud it shouldn't be hard to get it
working.
_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html
[2005 date index]
[2005 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]