Hello.
This is my first message here, and I don't know if there is any
usage about self introducing.
I am trying to setup a comfortable developer environment for
MariaDB, and especially a debugging environment, on a Linux Ubuntu
box (using gdb or ddd, or gdbgui…).
This is not obvious as all of them seems to have issues.
Anyway, I tried to follow the instructions from that page:
https://mariadb.com/kb/en/get-build-and-test-latest-mariadb-the-lazy-way/
But there is something that I am wondering:
If I want to see the contents of some variables using these
debuggers, is it normal that I very often get the following
message?
<optimized out>
I understand what that means, but I am actually trying to debug
code compiled with the following options: -DCMAKE_BUILD_TYPE=Debug
Shouldn't all optimizations have been disabled when compiling in
debugging mode?
Regards,
Gingko