I am also having trouble getting the nrepl-ritz debugger to start.  I am
able to start a repl with M-x nrepl-ritz-jack-in.  Then when I do M-x
nrepl-ritz-break-on-exception and type '(throw (Exception. "OHAI"))' into
the repl, what happens is that I see "nrepl-dbg-setup 1" in the minibuffer
and the repl becomes unresponsive.  The process is still alive, but nothing
ever comes back to the buffer.

Am I missing some important part of setup here?  I have Clojure 1.4.0,
clojure-mode 1.11.5, nrepl.el 0.1.4, ritz 0.5.0, Emacs 24.2.1 on Mac OS
10.6; all the Emacs packages were installed from marmalade.

thanks, Chris Jeris

On Mon, Sep 24, 2012 at 10:49 PM, Hugo Duncan <duncan.h...@gmail.com> wrote:

>
> Tim,
>
>
> Timothy Washington <twash...@gmail.com> writes:
>
> > I was following the instructions on the ritz-nrepl
> > page<https://github.com/pallet/ritz/tree/develop/nrepl>. And
> > I get the error below, when executing the "*M-x nrepl-ritz-jack-in*"
> > command.
>
> ...
>
> > Caused by: java.lang.RuntimeException: Unable to resolve symbol: ex-info
> in
> > this context
> >         at clojure.lang.Util.runtimeException(Util.java:156)
> >         at clojure.lang.Compiler.resolveIn(Compiler.java:6720)
> >         at clojure.lang.Compiler.resolve(Compiler.java:6664)
> >         at clojure.lang.Compiler.analyzeSymbol(Compiler.java:6625)
> >         at clojure.lang.Compiler.analyze(Compiler.java:6198)
> >         ... 171 more
>
> This seems to be an issue with clojure 1.4 not being used in the
> controlling vm, and should have been fixed by
> https://github.com/pallet/ritz/issues/53, which will be included in the
> next release.
>
> > You mention that this is meant to be used in tandem with nrepl.el (*
> > nrepl-jack-in*)? Because it looks like a parallel tool
> (*nrepl-ritz-jack-in*).
>
> You should be able to invoke nrepl-ritz-jack-in once nrepl-ritz.el is
> installed.
>
> > Could you run through a typical workflow of setting and using the "*M-x
> > nrepl-ritz-break-on-exception*" command? I just want to make sure that
> I'm
> > grokking how to use it.
>
> After running  'M-x nrepl-ritz-break-on-exception', you should get the
> debugger activated on an exception. So, entering something like
> (throw (Exception. "Hello")) at the repl should result in a debugger
> buffer being displayed, showing you a stacktrace.
>
> Hope that helps,
>
> Hugo
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>



-- 
Chris Jeris
cje...@brightcove.com (617) 686-3271
freenode/twitter/github: ystael

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to