Re: Getting sick and tired of "[trace missing]"

2014-12-04 Thread Niels van Klaveren


On Wednesday, December 3, 2014 11:53:02 PM UTC+1, Laurent PETIT wrote:
>
>
> Hello Niels, 
>
> that's interesting. Would it deserve that CCW adds this option 
> automatically when asked to start a REPL ? I could probably easily do this 
> in both cases : when the REPL start is delegated to Leiningen, or when the 
> REPL is created by ccw by using whatever is in the project's java build 
> path.
>
> Do you know if there would be e.g. performance impacts that would be 
> annoying for certain kinds of projects?
>  
>
Hello Laurent,

I would have no idea if the performance is impacted or not by using that 
flag permanently. If you always have access to the first time the same 
exception was thrown at the same place, it's no problem and wouldn't be 
worth the hassle. I think if you want to put it somewhere, it would be in a 
lein profile so you'd have it in development, but not in production.

Regards,

Niels  

>
> -- 
> Laurent Petit
>  

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting sick and tired of "[trace missing]"

2014-12-03 Thread Fluid Dynamics


On Wednesday, December 3, 2014 4:20:00 PM UTC-5, Niels van Klaveren wrote:
>
> This isn't a CCW exclusive issue, but the Oracle JVM 'optimizing away' 
> stacktraces.
>
> It can be remedied by adding the '-XX:-OmitStackTraceInFastThrow' flag to 
> the JVM startup parameters of the process you're starting.
> If Leiningen is used to start the JVM, add the following setting to your 
> lein project.clj map:
>
>
> :jvm-opts ^:replace ["-XX:-OmitStackTraceInFastThrow"]
>
> Thanks. Some googling had turned up something about that JVM option, but 
it was by no means obvious how to apply that anywhere but a commandline 
"java -jar ..." invocation. 

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting sick and tired of "[trace missing]"

2014-12-03 Thread Laurent PETIT
2014-12-03 22:20 GMT+01:00 Niels van Klaveren :

> This isn't a CCW exclusive issue, but the Oracle JVM 'optimizing away'
> stacktraces.
>
> It can be remedied by adding the '-XX:-OmitStackTraceInFastThrow' flag to
> the JVM startup parameters of the process you're starting.
> If Leiningen is used to start the JVM, add the following setting to your
> lein project.clj map:
>
>
> :jvm-opts ^:replace ["-XX:-OmitStackTraceInFastThrow"]
>
>
Hello Niels,

that's interesting. Would it deserve that CCW adds this option
automatically when asked to start a REPL ? I could probably easily do this
in both cases : when the REPL start is delegated to Leiningen, or when the
REPL is created by ccw by using whatever is in the project's java build
path.

Do you know if there would be e.g. performance impacts that would be
annoying for certain kinds of projects?


>
> Oh, and you're welcome..
>
>
>
> On Wednesday, December 3, 2014 6:29:23 PM UTC+1, Fluid Dynamics wrote:
>>
>> It's a giant pain to debug exceptions without stack traces. This seems to
>> be a problem specific to CCW, as I don't encounter it using other
>> development environments.
>>
>> Is this going to be fixed anytime soon?
>>
>  --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Laurent Petit

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting sick and tired of "[trace missing]"

2014-12-03 Thread Niels van Klaveren
I'm sure first thing in the morning there'll be someone at Larry Ellison's 
door clamoring for removal of hotspot optimization from the JVM..

On Wednesday, December 3, 2014 10:41:34 PM UTC+1, Sam Ritchie wrote:
>
> The first result of googling
>
> jvm "[trace missing]"
>
> is really helpful here.
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting sick and tired of "[trace missing]"

2014-12-03 Thread Sam Ritchie

The first result of googling

jvm "[trace missing]"

is really helpful here.


Fluid Dynamics 
December 3, 2014 at 10:29 AM
It's a giant pain to debug exceptions without stack traces. This seems 
to be a problem specific to CCW, as I don't encounter it using other 
development environments.


Is this going to be fixed anytime soon?
--
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 unsubscribe from this group and stop receiving emails from it, send 
an email to clojure+unsubscr...@googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
Sam Ritchie (@sritchie)
Paddleguru Co-Founder
703.863.8561
www.paddleguru.com 
Twitter // Facebook 



--
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting sick and tired of "[trace missing]"

2014-12-03 Thread Niels van Klaveren
This isn't a CCW exclusive issue, but the Oracle JVM 'optimizing away' 
stacktraces.

It can be remedied by adding the '-XX:-OmitStackTraceInFastThrow' flag to 
the JVM startup parameters of the process you're starting.
If Leiningen is used to start the JVM, add the following setting to your 
lein project.clj map:


:jvm-opts ^:replace ["-XX:-OmitStackTraceInFastThrow"]

Oh, and you're welcome..



On Wednesday, December 3, 2014 6:29:23 PM UTC+1, Fluid Dynamics wrote:
>
> It's a giant pain to debug exceptions without stack traces. This seems to 
> be a problem specific to CCW, as I don't encounter it using other 
> development environments.
>
> Is this going to be fixed anytime soon?
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting sick and tired of "[trace missing]"

2014-12-03 Thread Paul L. Snyder
On Wed, 03 Dec 2014, Fluid Dynamics wrote:

> It's a giant pain to debug exceptions without stack traces. This seems to 
> be a problem specific to CCW, as I don't encounter it using other 
> development environments.
> 
> Is this going to be fixed anytime soon?

Pseudonymous obnoxious person:

You have many options.

(a) Submit a (polite) issue to the CCW tracker with sufficient information
to reproduce the behavior. If an issue already exists, comment (politely)
on the issue to register that it's one toward which you would like the
project's volunteers to consider allocating their efforts.

(b) If the issue is of sufficient importance to you, offer a bounty
(payable in actual money) for an implementation of your desired behavior.
If you ask (politely), someone may be willing to implement it for you in
exchange for cash.

(c) Determine the source of the undesired behavior and implement a fix
yourself. I'd suspect the project's maintainers would happily entertain
a pull request. If you do not have sufficient knowledge to understand
how to approach an implementation, others may be willing to guide you if
you ask. Politely.

(d) Stop whinging and use the free software.

(e) Stop whinging and don't use the free software.

(f) Take your whinging somewhere else.

Moderators:

Many, many people sincerely attempted to help this person during the last
round of self-obsessed, abusive entitlement. May I request that you step in
if it looks like this thread is going down the same path?

I do not wish this community to become one that tolerates incivility.

  http://jacobian.org/writing/assholes/

Thanks to all of those on this list and behind the scenes who work to
support this great programming language, its tooling, and the vibrant
ecosystem of libraries.

Paul

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting sick and tired of "[trace missing]"

2014-12-03 Thread Fluid Dynamics
It's a giant pain to debug exceptions without stack traces. This seems to 
be a problem specific to CCW, as I don't encounter it using other 
development environments.

Is this going to be fixed anytime soon?

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.