每当我在模板中设置断点时,它都会被忽略。有没有解决方法? 示例:忽略if (list.size() ..
的断点。模板中的断点被忽略,是否有解决方法?
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:对于GDB这种解决办法被描述here
的Env。 Win7,VC2013,QtCreator 3.1.1
_asm int3; – Nowayz 2014-08-29 20:30:05