Would suggest to consider this:

(let [ x (true? (new java.lang.Boolean false)) ] (if x "trouble"
"ok"))

Regards,
Shantanu

On Aug 18, 10:05 pm, Chas Emerick <cemer...@snowtide.com> wrote:
> No, you can put a breakpoint on any class, regardless of where it's
> been loaded from.
>
> In this case, I'd suggest not relying on the line numbers shown in
> source dumps.  At least in my experience, line numbers in the standard
> library source differ from what is shown at runtime.  All three Java
> IDEs allow you to set breakpoints on specific classes and methods,
> irrespective of line number -- doing that will allow you to set the
> right breakpoint, if the line number in Boolean<init>(boolean) happens
> to mismatch whichever source tree you have wired into the IDE.
>
> - Chas
>
> On Aug 18, 12:57 pm, Nicolas Oury <nicolas.o...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I am not an expert. Is it possible on some JDK to put a breakpoint on
> > Boolean constructor and look at the stack?
> > Or you can't put a breakpoint on standard library?

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