ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
<FromGitter> <moe:busyloop.net> is there a way to compile with `--release` but still get normal backtraces? debugging issues in production is no fun without line numbers and "from ???"
notzmv has joined #crystal-lang
notzmv has quit [Read error: Connection reset by peer]
notzmv has joined #crystal-lang
<FromGitter> <Blacksmoke16> does adding `--debug` help at all?
ur5us has quit [Ping timeout: 240 seconds]
<FromGitter> <jrei:matrix.org> I don't think it is release. You may have added --strip, or maybe --static?
taupiqueur has joined #crystal-lang
taupiqueur has quit [Ping timeout: 240 seconds]
<FromGitter> <moe:busyloop.net> nope, seems like `--debug` can't be used together with `--release`.
<FromGitter> <moe:busyloop.net> and neither `--strip` nor `--static` is involved
<FromGitter> <moe:busyloop.net> http://ix.io/3MTs/
<FromGitter> <moe:busyloop.net> note the absence of any filenames or line numbers ;)
<FromGitter> <moe:busyloop.net> seems to depend on the type of exception tho, some give a more useful trace. just the ones that i tend to bump into (such as `IndexError`) unfortunately not.
taupiqueur has joined #crystal-lang
taupiqueur_ has joined #crystal-lang
taupiqueur has quit [Ping timeout: 256 seconds]
taupiqueur_ has quit [Ping timeout: 240 seconds]
Elouin has quit [Read error: Connection reset by peer]
Elouin has joined #crystal-lang
taupiqueur has joined #crystal-lang
taupiqueur_ has joined #crystal-lang
taupiqueur has quit [Ping timeout: 256 seconds]
ngp has joined #crystal-lang
taupiqueur_ has quit [Ping timeout: 240 seconds]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Ping timeout: 256 seconds]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Ping timeout: 256 seconds]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Ping timeout: 240 seconds]
taupiqueur has joined #crystal-lang
ur5us has joined #crystal-lang
notzmv has quit [Ping timeout: 268 seconds]
sagax has quit [Ping timeout: 240 seconds]
<FromGitter> <straight-shoota> In `--release` mode, LLVM applies code optimizations which might include aggressive inlining. Thus some of the functions you see in a non-release build might not even exist in a release build. Additional debug info (`--debug`) can't help anything about that. It's just impossible to generate a stack trace when there's not stack item to trace.
taupiqueur has quit [Ping timeout: 250 seconds]
taupiqueur has joined #crystal-lang
notzmv has joined #crystal-lang
ur5us has quit [Ping timeout: 240 seconds]
taupiqueur has quit [Ping timeout: 256 seconds]