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.
我在删除附加到进程时设置的断点时遇到问题。
我正在附加到 aspnet_wp 进程并设置断点。但是,我在调试时删除的任何断点都只是暂时删除。当我将调试器重新附加到进程时,我删除的断点又回来了。我发现删除断点的唯一方法是在调试器未附加到任何东西时删除它们。有谁知道是什么原因造成的,是否有办法禁用它?
根据我的经验,这是正常行为。
断点重现之谜
尝试打开断点窗口(Debug->Windows->Breakpoints)并从那里删除断点。