Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 Visual Studio 中的第一个断言失败时停止?
当我调试时,对于每个失败的断言,我都会弹出一个窗口。但我不希望这种行为,我需要程序在第一个失败的断言处停止,以便我可以从那里进行调试。
谢谢
VS 2015:菜单->调试->Windows->异常设置
Pre-VS 2015:Debug > Exceptions,展开Win32 Exceptions,并检查Assert Failed: