I would like to debug some templated code to understand it better.
Unfortunately I\'m new to template metaprogramming and it IS hard for me to get in.
When I try
Check my publication on C++ template metaprogram debugging
From page 6 you can see how it works. For specific purposes you won't need the whole toolchain, it can be done by hand.
I have put together a Visual C++ add-in where you could place breakpoints etc. but it was rather a proof of concept than a tool for every day use.
We have been working on a graphical frontend that shows all the instantiations, allows debugging, profiling. Unfortunately we cannot promise any publish date for that tool, as we do it in our quite limited free time.
UPDATE: the debugger and profiler is available here
UPDATE: C++Now presentation