Re: Changing source on the fly (Was: Lisp Book(s) in the K&R Style)



In article <u3bt0968j.fsf_-_@xxxxxx>, Maks Romih <maksr@xxxxxx> wrote:

> Is it possible in CMUCL to change the source when stepping through the
> debugger? I mean, the source of the very function or loop you are
> stepping through.

I expect that you can redefine the function, but it won't affect the
current execution that's in progress. Unless the function is
inline-coded into the callers, it should affect subsequent calls to the
function.

--
Barry Margolin, barmar@xxxxxxxxxxxx
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
.



Relevant Pages

  • Changing source on the fly (Was: Lisp Book(s) in the K&R Style)
    ... Is it possible in CMUCL to change the source when stepping through the ... the source of the very function or loop you are ... curious when I will find it in any lisp debugger. ...
    (comp.lang.lisp)
  • Re: Simple file reading problem
    ... What is convincing you that it doesn't enter the while loop when in VS? ... Are you stepping ... through in the debugger, and seeing it skip the loop, or are you assuming it doesn't enter because ...
    (microsoft.public.vc.language)
  • Re: Learning C
    ... I stress that I talking about "stepping through an application". ... And how can stepping through an app be bad? ... I did not step through the code with a debugger. ... "examine", to me, means to study the source code. ...
    (comp.lang.c)
  • Re: Learning C
    ... with a debugger. ... I stress that I talking about "stepping through an application". ... But often loggers affect the app. ... "examine", to me, means to study the source code. ...
    (comp.lang.c)
  • Re: Good debugger?
    ... > Stepping through a script sequence, one line at a time, and watching ... > the variables change values as you do so is a much better approach to ... > think I've ever seen a debugger do that before). ... especially Tkcon) is a single step tool. ...
    (comp.lang.tcl)