Re: [LMMS-devel] LMMS debugging instructions

2015-01-03 Thread Lukas W.
Take a look at CMakeLists.txt:L371 and L372. That's where -O2 is added. No idea why, probably best to remove -O2 and -g from both lines. 2015-01-03 5:31 GMT+01:00 Amadeus Folego : > So, I am trying to track the cause of the bug that D

[LMMS-devel] LMMS debugging instructions

2015-01-02 Thread Amadeus Folego
So, I am trying to track the cause of the bug that DanWin describes on his PR[0]. Tres showed me a page on the wiki on how to compile LMMS with debugging symbols [1], but it still compiles with the O2 setting. When I try to print some value with GDB it prints "optimized out" probably because of t