try (js* "debugger()")
 
Matt Hoyt

________________________________
From: Stuart Campbell <stu...@harto.org>
To: Clojure <clojure@googlegroups.com>
Sent: Thursday, November 10, 2011 9:16 PM
Subject: JavaScript `debugger' statement


I'm trying to enter the Firebug debugger when an exception is caught:

(try
  ; ...
  (catch js/Error e
    js/debugger))

This doesn't work, because js/debugger compiles to debugger$; per 
cljs.compiler/munge.

Any ideas how I can get around this?

Thanks,
Stu

-- 
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

-- 
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