Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another stepper contrib for ABCL! (this time for compiled code) #654

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alejandrozf
Copy link

I'm happy to add another tool to debug programs in ABCL :)

For more information see the file contrib/abcl-jvm-stepper/README.markdown

Copy link
Collaborator

@easye easye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You seem to have missed a defpackage in the ASDF definition as I get the following error trying to load this code:

The package "STEPPER" can't be found.
   [Condition of type READER-ERROR]

Restarts:
 0: [RETRY] Retry compiling #<ASDF/LISP-ACTION:CL-SOURCE-FILE "abcl-jvm-stepper" "base" "abcl-jvm-stepper">.
 1: [ACCEPT] Continue, treating compiling #<ASDF/LISP-ACTION:CL-SOURCE-FILE "abcl-jvm-stepper" "base" "abcl-jvm-stepper"> as having been successful.
 2: [RETRY] Retry ASDF operation.
 3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration.
 4: [ABORT] Abort compilation.
 5: [RETRY] Retry SLIME REPL evaluation request.
 --more--

Backtrace:
  0: (INVOKE-DEBUGGER #<READER-ERROR {6B1DDAEA}>)
  1: org.armedbear.lisp.Lisp.error(Lisp.java:389)
  2: org.armedbear.lisp.Stream.readToken(Stream.java:1181)
  3: org.armedbear.lisp.Stream.processChar(Stream.java:596)
  4: org.armedbear.lisp.Stream.readList(Stream.java:756)
  5: org.armedbear.lisp.LispReader$3.execute(LispReader.java:88) = #<function READ-LIST {3C3E1FA4}>
  6: org.armedbear.lisp.Stream.processChar(Stream.java:589)
  7: org.armedbear.lisp.Stream.readList(Stream.java:756)
  8: org.armedbear.lisp.LispReader$3.execute(LispReader.java:88) = #<function READ-LIST {3C3E1FA4}>
  9: org.armedbear.lisp.Stream.processChar(Stream.java:589)
 10: org.armedbear.lisp.Stream.readList(Stream.java:756)
 11: org.armedbear.lisp.LispReader$3.execute(LispReader.java:88) = #<function READ-LIST {3C3E1FA4}>
 12: org.armedbear.lisp.Stream.processChar(Stream.java:589)
 13: org.armedbear.lisp.Stream.readList(Stream.java:756)
 14: org.armedbear.lisp.LispReader$3.execute(LispReader.java:88) = #<function READ-LIST {3C3E1FA4}>
 15: org.armedbear.lisp.Stream.processChar(Stream.java:589)
 16: org.armedbear.lisp.Stream.readList(Stream.java:756)
 17: org.armedbear.lisp.LispReader$3.execute(LispReader.java:88) = #<function READ-LIST {3C3E1FA4}>
 18: org.armedbear.lisp.Stream.processChar(Stream.java:589)
 19: org.armedbear.lisp.Stream.readList(Stream.java:756)

contrib/abcl-jvm-stepper/README.markdown Show resolved Hide resolved
@easye
Copy link
Collaborator

easye commented Dec 30, 2023

We could possibly add your examples in the README as a simple to test to ensure the code compiles and executes under the Github CI?

@alejandrozf
Copy link
Author

You seem to have missed a defpackage in the ASDF definition as I get the following error trying to load this code:

The package "STEPPER" can't be found.
   [Condition of type READER-ERROR]

Thank you @easye , it was an obsolete dependency on ABCL-STEPPER that I forgot to remove

@alejandrozf
Copy link
Author

We could possibly add your examples in the README as a simple to test to ensure the code compiles and executes under the Github CI?

Done 👍

@fosskers
Copy link

fosskers commented Jul 1, 2024

This seems useful. What's the status?

@alejandrozf
Copy link
Author

Hi @fosskers

This stepper works out of the box only on function calls.
To ensure it can step into other subforms you need to "decorate" the subform in order to make it "steppable".
In the Readme I have explained how to do it.
I want to make it step into all the subforms but I couldn't make it yet.
I don't have too much time to hack on ABCL these days, so if someone can help me on it would be awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants