问题描述
我正在使用Visual Studio 2015 Enterprise。
I'm using Visual Studio 2015 Enterprise.
最近,每当我运行调试器时,突然发生历史调试。
Recently, suddenly, historical debugging started to show up whenever I run debugger.
当然,有一个按钮,我可以回到实时调试。如果我按下此按钮,Visual Studio将显示并关注"catch(Exception)"上下文。然后,如果我双击IntelliTrace的"事件"选项卡中的"Exception thrown"行,Visual
Studio将显示并关注抛出异常的行,但会自动返回到历史调试。
Of course, there's a button which I can come back to Live debugging. If I press this button, Visual Studio displays and focuses on 'catch (Exception)' context. And then, If I double-click the line 'Exception thrown' in the Event tab of IntelliTrace, Visual Studio displays and focuses on the line which has thrown the Exception but automatically it go back to Historical debugging.
我感到不舒服,因为我看不到变量,参数的值,并检查对象是否为空。
I feel uncomfortable because I cannot see values of variables, parameters and check whether object is null or not..
当我禁用整个IntelliTrace时,我看不到诊断工具(IntelliTrace的事件选项卡,内存使用情况,CPU使用率等)。因此,我不喜欢 禁用整个IntelliTrace ..
When I disabled the entire IntelliTrace, I couldn't see Diagnostic tool(Event tab of IntelliTrace, Memory usage, CPU usage and so on). Therefore, I don't like Disabling the entire IntelliTrace..
感谢您的出色知识和友好支持!
Thanks for your excellent knowledgement and kind support !
推荐答案
根据历史调试文件在Visual Studio 2015中使用IntelliTrace功能时,我们需要从Tools / Options / IntelliTrace / General页面中选择IntelliTrace事件和调用信息选项。
According to the document for historical debugging when using IntelliTrace feature in Visual Studio 2015, we need to select the IntelliTrace events and call information option from Tools / Options / IntelliTrace / General page.
https://msdn.microsoft.com/en-us/library/mt228143.aspx
因此,如果您不想使用历史调试,可以取消选中"IntelliTrace事件和呼叫信息"。选项。请检查"仅限IntelliTrace事件"改为选择。
So if you don't want to use historical debugging, you could uncheck the "IntelliTrace event and call information" option. Please check "IntelliTrace events only" option instead.
最好的问候,
Weiwei
Best Regards,
Weiwei
这篇关于如何禁用Visual Studio 2015的历史调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!