StefMa
12/30/2019, 8:08 AMrelease and debug version?
Cause my release version crashes directly but my debug version works.
I don’t have add any special “cases” like “on release do this and debug do this”… so there should be a difference out of the box, right?Elena Lepilkina
12/30/2019, 8:13 AMrelease version (-opt compiler flag) includes some optimizations that debug doesn't. debug includes debug info,
What crash do you have and what version do you use?StefMa
12/30/2019, 8:41 AMlinkMacosX64 task. This build two binaries. release and debug.
Running the release version leads to:
zsh: segmentation fault ./build/bin/macosX64/releaseExecutable/Komitter.kexe.
Not sure how this helps or how I can get a better stacktrace?!StefMa
12/30/2019, 8:42 AMElena Lepilkina
12/30/2019, 8:47 AMElena Lepilkina
12/30/2019, 8:51 AMbinaries.getExecutable("DEBUG").optimized = true to add -opt to debug build and try to run debug executable, it should crash as release build, but some runtime checks should be on, so may be it becomes more understandable where problem is.StefMa
12/30/2019, 9:13 AMsaket
01/01/2020, 12:27 AM