none
设置断点调试不能停止 RRS feed

答案

  • Hi,

    如果你创建一个简单的程序,添加一个断点,debug的时候,是不是能停下来?

    这是一个MSDN FAQ,它列举出了 “the breakpoint was not hit”的几种原因. 详细信息如下:

    1. Make sure the latest SPs/hotfixes are downloaded and installed properly

    2. The following project are configured correctly

     in ASP.NET project, ASP.NET debugger is checked

     in SQL Server project,  SQL/CLR Debugging is allowed on the data connection

     in Silverlight project, Silverlight debugger is checked

    3. Make sure Visual Studio is in Debug mode since code in debug mode is not optimized

    4. Open Processes window (Debug -> Windows -> Processes), make sure the current debugging type is expected type

    Thanks,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

    2012年7月16日 2:54
    版主