当我在VS2005中使用条件断点而不是使用临时代码来检查特定条件时,我注意到它需要更多时间并且执行速度降低了!!你知道为什么吗?以及如何解决这个问题?
示例:
int sequence = atoi(m_SequenceNumber.GetAscii());
if( sequence == 392914)//temporary code to check to step into code
{
int x = 0;//I put breakpoint here
}
前面的代码将比我使用条件断点(序列 == 392914)更快地执行