Debugging a Program With dbx

stop in function

Use stop in to set a breakpoint at a member function of a template class or at a template function.

For a class template instantiation:


(dbx) stop in Array<int>::Array<int>(int l)
(2) stop in Array<int>::Array<int>(int)

For a function instantiation:


(dbx) stop in square(double, double*)
(6) stop in square(double, double*)