Debugging With C++ Templates
dbx supports C++ templates. You can load programs containing class
and function
templates into dbx and invoke any of the
dbx commands on a template that you would use on a class or
function:
Setting
breakpoints at class or function template
instantiations
|
|
Printing a list of all class and function template
instantiations
|
|
Displaying the definitions of
templates and instances
|
|
Calling
member template functions and function template
instantiations
|
|
Printing values of function template instantiations
|
|
Displaying the source code for function template
instantiations
|
|
|