jed-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: debug: points where left on the stack


Joerg Sommer <joerg@xxxxxxxxxxxx> wrote:
>how can I identify functions where a value is left on the stack? Can
>SLang add the line and the filename to every value where it came on the
>stack and extract this information later?

If you are using slang2, you might try using stkcheck.  To use it, put

  require ("stkcheck");
  enable_stack_check ();

at the top of the file that you want to check.  If that file loads
addition files, then those to will be "stack-checked".  After running
the problematic code, look at the *traceback* buffer.  It should give
you an indication of where the problem is.

I hope to better integrate the slang-debugger (sldb) with jed and add
an option to stop when a statement leaves something on the stack.

--John

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]