Git Product home page Git Product logo

Comments (4)

cemerick avatar cemerick commented on July 2, 2024

Agreed. Printing a helpful message before rethrowing any IOException thrown when exec-ing the external process would be good. That's an easy patch if anyone's interested. ;-)

from austin.

deg avatar deg commented on July 2, 2024

Ok. I'll take a look at this in a couple of days, if no one beats me to it.

from austin.

deg avatar deg commented on July 2, 2024

Later: I can't reproduce this emacs problem. When/if I can pin it down, I'll reopen in a separate issue.

Hmm, so I figured I should get my project working with Austin and understand the Austin code a bit better, before I started blindly patching. I've hit a problem that's probably outside the scope of Austin code, and is definitely still outside my comfort zone. So, figured I'd check if this is a known problem before I dive further down the rabbit hole. Basically the problem is that I can't get the browser-connected REPL to work from within emacs nrepl. I can reproduce the problem in your sample app too: ```` ;;; In Emacs: m-x nrepl-jack-in ; nREPL 0.1.8-preview user> ;;; m-x nrepl-set-ns # cemerick.austin.bcrepl-sample> (run) # cemerick.austin.bcrepl-sample> (def repl-env (reset! cemerick.austin.repls/browser-repl-env (cemerick.austin/repl-env))) Browser-REPL ready @ http://localhost:46195/1929/repl/start #'cemerick.austin.bcrepl-sample/repl-env cemerick.austin.bcrepl-sample> (cemerick.austin.repls/cljs-repl repl-env) Type `:cljs/quit` to stop the ClojureScript REPL nil ;;; browse to http://localhost:8080/ cljs.user> 5 ;;; No response. repl is frozen until I abort the evaluation (m-x nrepl-interrupt) ```` And, all works fine when I do the same actions from a lein repl (in a vanilla shell, not in emacs). Have I hit an unsupported or untested style of use, or am I just doing something wrong?

from austin.

cemerick avatar cemerick commented on July 2, 2024

Fixed on gh-13.

from austin.

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.