-
Notifications
You must be signed in to change notification settings - Fork 2
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
Does not work on Mac #51
Comments
I see you were also testing Atom-Slime; have you tried uninstalling that and restarting Atom? To start a lisp session, either use the menu option Package > SLIMA > Lisp Process > Start, or search "slime start" in the command palette (ctrl-shift-p). This package is more in maintenance mode than active development. I do my best to address bugs that come up, but I haven't had much time to develop new features (although pull requests are welcome). |
Thanks for responding. Starting the session does indeed get me further. However, the lisp code I'm working on doesn't run on the Mac, only on Linux, so I need to debug it remotely. I tried setting up a swank server on the Linux machine and configuring the plugin to connect to it, but it says it's unreachable...? Also, when starting a session, |
If you start a swank server on your Mac, can you connect to that? Currently, the first project is always used for the working directory. The only way to change it would be to setup a development version of SLIMA and modify the function I linked (swapping lines 94-95 with 97-98 would use the directory from the current text editor). |
I figured it out. Incidentally, there were no console messages. Bit odd that. I shall attempt to set up a dev version as suggested. Thanks for the help! :) |
One more problem with remote debugging: when a breakpoint (or other signal) is hit, the source is not shown because - of course - the file exists in a different place on the remote server. So for example, the file "/user/documents/lisp/myfile.lisp" might be mapped via a network share on the local machine at "/mnt/myserver/documents/lisp/myfile.lisp". Could you maybe add a configuration option to specify a path to swap out? i.e. something like "replace /user with /mnt/myserver" Without such an option, remote debugging is pretty much a non-starter :( |
That makes sense given remote code execution is a bit of a security vulnerability. I think another option is to use an ssh tunnel to forward the port. Yea, there's probably a bunch of places that SLIMA assumes both ends use the same file systems and mountings. I'll have to look at how (if?) SLIME handles it. I haven't tested remote swank servers, so there's probably other, similar assumptions. |
I've implemented a basic file-prefix replacement option to the master branch. |
I just make a release that includes this prefix-replacement option. |
Cheers. I'll give it a try. |
I have installed this package into Atom on MacOS, and it shows errors:
Is this package still in active development?
The text was updated successfully, but these errors were encountered: