Giter Site home page Giter Site logo

Comments (5)

alejandrozf avatar alejandrozf commented on June 7, 2024

Do you mean using Slime or the plain REPL? How are you doing it?

With Slime I can see arguments of the functions called but not for local variables, for example

For this function:

image

I got this when calling with (test2 7):

image
but with no way to get the value of the variable b

In the plain REPL I saw options for inspect the value but they are not working for local bindings.

I didn't tried with abcl-instrospect, maybe using it is possible to inspect all local bindings.

On the other hand, there is a contrib for a working stepper called abcl-stepper (I'm the author) which allows to get the values of local bindings among other features. Maybe the documentation needs to be updated in that paragraph to mention it.

from abcl.

fosskers avatar fosskers commented on June 7, 2024

Now that I'm testing it in SBCL, I'm actually seeing the same thing; I can't manage to get access to b within the debugger.

However, the good news is that Sly Stickers do work, so if I really need access to an inner variable, I can use those.

I think the original issue can be closed. Thanks!

from abcl.

alanruttenberg avatar alanruttenberg commented on June 7, 2024

@fosskers Have you tried to look at frames of functions that are interpreted? With ABCL-introspect those should be visible.

from abcl.

fosskers avatar fosskers commented on June 7, 2024

It was the same result for either interpreted or compiled functions, although I was just using what Sly provides by default. I didn't try out abcl-introspect.

from abcl.

alanruttenberg avatar alanruttenberg commented on June 7, 2024

Right, it won't work unless abcl-introspect is loaded. Also, I'm not familiar with sly. Slime has the debugger support for this.

from abcl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.