(throw (ex-info "foo\nbar" {}))
νκ°νλ©΄ *cider-error*
λ²νΌμ λ€μ μΆλ ₯μ΄ μΈμ λ κ²μΌλ‘ μμν©λλ€.
1. Unhandled clojure.lang.ExceptionInfo
foo
bar
{}
(throw (ex-info "foo\n\nbar" {}))
(νλκ° μλ λ μ€ λ°κΏ)μ νκ°νλ©΄ μ€ λ°κΏμ΄ *cider-error*
.
1. Unhandled clojure.lang.ExceptionInfo
foo
bar
{}
λ°λΌμ λ¬Έμ λ λ¨μΌ μ€ λ°κΏμ λν΄μλ§ λ°μνλ κ²μΌλ‘ 보μ λλ€.
μμ 첫 λ²μ§Έ κ²½μ° ( (throw (ex-info "foo\nbar" {}))
νκ°)μμ *cider-error*
μ μΆλ ₯μ λ€μκ³Ό κ°μ΅λλ€.
1. Unhandled clojure.lang.ExceptionInfo
foo bar
{}
lein new cider-bug-report
project.clj
μλ μ½λμ²λΌ 보μ΄κ²ν©λλ€.lein repl
cider-connect
(throw (ex-info "foo\nbar" {}))
;; project.clj
(defproject cider-bug-report "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:plugins [[cider/cider-nrepl "0.15.1"]]
:dependencies [[org.clojure/clojure "1.9.0-RC1"]])
;; CIDER 0.15.1 (London), nREPL 0.2.12
;; Clojure 1.9.0-RC1, Java 1.8.0_151
Java 1.8.0_151 Java HotSpot (TM) 64 λΉνΈ μλ² VMμ Leiningen 2.8.0
miniyosemite.localμ 2015-03-19 GNU Emacs 24.4.1 (x86_64-apple-darwin14.1.0)
OS X 10.11.6 "El Capitan"
λ©μμ§λ emacs μͺ½μμ "μ±μμ‘μ΅λλ€". λλ μ΄κ²μ΄ 곡κ°μ μ μ½νκΈ° μν΄ μνλμλ€κ³ μκ°νμ§λ§ λ΄ κ²½νμ λλΆλΆμ κ²½μ° μ΄κ²μ κ²½νμ ν΄λ₯Ό λΌμΉ©λλ€ (μλ₯Ό λ€μ΄ core.specμ μΆλ ₯ μ°Έμ‘°). λ©μμ§μ μμ±μλ κ°λ μ±μ μν΄ νμμ μ§μ νκ³ λκ΅¬κ° κ·Έκ²μ λ§μ³μλ μλλ€κ³ μκ°ν©λλ€.
μ±μ°κΈ°λ₯Ό μ κ±°νκ±°λ κ΅¬μ± κ°λ₯νκ² λ§λ€μ΄μΌνλ€κ³ μκ°ν©λλ€.
κ·Έκ²μ μ’μ κ²μ λλ€!
μ΄ λ¬Έμ λ μ΅κ·Ό νλμ΄ μμκΈ° λλ¬Έμ μλμΌλ‘ μ€λλ κ²μΌλ‘ νμλμμ΅λλ€. λ μ΄μ νλμ΄ λ°μνμ§ μμΌλ©΄ νμλ©λλ€. κ·νμ κΈ°μ¬μ μ΄ν΄μ κ°μ¬λ립λλ€!
μ΄ λ¬Έμ λ νλ λΆμ‘±μΌλ‘ μΈν΄ μλμΌλ‘ μ’ λ£λμμ΅λλ€. λ€μ λμ μ€λ©΄ μΈμ λ μ§ λ€μ μ΄μ΄λ³΄μμμ€.
κ°μ₯ μ μ©ν λκΈ
μ±μ°κΈ°λ₯Ό μ κ±°νκ±°λ κ΅¬μ± κ°λ₯νκ² λ§λ€μ΄μΌνλ€κ³ μκ°ν©λλ€.