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

Haskell mode REPL hanging #719

Closed
Eason0210 opened this issue Jun 27, 2019 · 1 comment
Closed

Haskell mode REPL hanging #719

Eason0210 opened this issue Jun 27, 2019 · 1 comment

Comments

@Eason0210
Copy link

Hi Purcell,

I found an issue in haskell mode. When I use C-c, C-l to load file to RPEL, the REPl will freeze.
The detailed steps are as below:

  1. Load a haskell file into a new GHCi session using C-c C-l
  2. Use the REPL to evaluate functions, it worked well for this moment
  3. Switch back to the source code using eitherC-c C-zor C-x o
  4. Make some changes, or add more functions and save source with C-x, C-s.
  5. Use C-c C-l to load file again, and use C-x, o to switch to the REPL
  6. And then REPl hangs , C-q can exit the hanging, but need to restart emacs to restore normal.

My system info:
Window 10 pro 1903
emacs-26.2-x86_64

I tried to disabled flycheck and company , the issue still exist. But I tried to install Haskell-mode in my personal emacs config , there is no this issue.

I use M-x toggle-debug-on-quit to enable the debug mode and get the infomation as below picture(you can get details form the file attached):

debug

debug log

I also searched issues from Haskell -mode of github and goole.
I just found a similar issue but no finall solution.
haskell/haskell-mode#447

So can you give me some advice or directions , how I can dig for it?
Thank you in advance.

@Eason0210
Copy link
Author

This is a Windows 10 specific issue, I have been move to linux and Mac osx, and everything works well now.

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

No branches or pull requests

1 participant