emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: [babel] Executing sh-code


From: Eric Schulte
Subject: Re: [Orgmode] Re: [babel] Executing sh-code
Date: Mon, 30 Nov 2009 09:16:28 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Nick Dokos <address@hidden> writes:

>
> There are two methods that I use that I think are much more effective
> than sprinkling message calls all over the place:
>
>      o edebug-defun: (in emacs-lisp mode, C-u C-M-x) will mark the
>      function so that when it is called, the interpreter stops and you can 
> then
>      single-step through it with <SPACE>. At each point, you can
>      press "e" and evaluate variables (actually arbitrary expressions).
>
>      o Insert a strategically placed (debug) call and then call the function.
>      If/when the debug call is executed, you are dropped into the debugger
>      and you can then evaluate arbitrary expressions.
>

Excellent.  Thanks Nick, I look forward to the next bug so I can try
these out. -- Eric

>
> HTH,
> Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]