mikael-s-persson / templight

Templight is a Clang-based tool to profile the time and memory consumption of template instantiations and to perform interactive debugging sessions to gain introspection into the template instantiation process.
Other
730 stars 40 forks source link

Debugger: lookup, typeof, eval and whois not working #84

Open BrukerJWD opened 3 years ago

BrukerJWD commented 3 years ago

Thanks for this great tool! I am able to step through the template process, but unfortunately it isn't of much use as it does not output anything for the above mentioned commands:

Entering prior template-argument substitution of enum_value_sequence::Values
  at enum_value_sequence.cpp|28|62 (Memory usage: 0)
struct _merge_and_renumber<E, enum_value_sequence<E, I1...>, enum_value_sequence<E, I2...>>
                                                             ^
(tdb) w I2
(tdb) w I2...
(tdb) l E
(tdb) w E

Am I doing something wrong?

sabel83 commented 3 years ago

Templight's interactive interface is incomplete and is not really maintained. Have you tried Metashell's MDB? http://metashell.org/manual/getting_started/index.html#using-the-metadebugger It provides an interactive interface for templight.