[cmake-developers] Debugger for CMake
Brad King
brad.king at kitware.com
Tue Jan 31 07:54:38 EST 2017
On 01/31/2017 02:26 AM, Tobias Hunger wrote:
> I liked the snapshots that were in Stephen Kelly's daemon-mode
> patch much better than an interactive debugger.
>
> Is somebody working on the snapshot infrastructure?
Not that I'm aware. Some of the infrastructure is already there.
See `Source/cmState.h`. When first added it supported capturing
a snapshot of the state before every function call and at other
key points. However, we had to remove some of that because it
led to unbounded memory accumulation. If it were to be added as
a debugging mode that may be okay, but it would likely have to
do something besides keeping everything in memory.
-Brad
More information about the cmake-developers
mailing list