Whenever I set a breakpoint in a template it is ignored. Is there a workaround for this?
Example: Breakpoint at if (list.size() ..
ignored.
template <typename ObjectType, typename ContainerType>
ContainerType CListModelBase<ObjectType, ContainerType>::
sortListByColumn(const ContainerType &list, int column,
Qt::SortOrder order)
{
if (list.size() < 2) return list; // nothing to do
// ...
}
PS: For gdb such a workaround is described here
Env. Win7, VC2013, QtCreator 3.1.1