On izumi, when using code compiled with the current -Og setting, a good number of variables are "optimized out" when viewing in totalview. Changing this setting in two places in the cmake_macros/gnu.cmake file before running case.build yields variables which are able to be viewed in the totalview debugger.
There was some discussion on investigating the timing impact of making this change on CESM regression tests.
If the timing is not significantly impacted, I would like to suggest that gnu use the -O0 setting for debug cases.