可使用 stop in 命令在模板类的成员函数或在模板函数中设置断点。
对于类模板实例化的成员:
(dbx) stop in Array<int>::Array(int l) (2) stop in Array<int>::Array(int)
对于函数实例化:
(dbx) stop in square(double, double*) (6) stop in square(double, double*)
有关更多信息,请参见stop 命令和in function。