这个原因不好猜啊。web applicaton需要debug模式编译,并且部署时PDB也需要部署到bin中。
web site需要在web.config中 将 debug设置成true.
<configuration>
...
<system.web>
<compilation
debug="true"
...
>
...
</compilation>
</system.web>
</configuration>
web site需要在web.config中 将 debug设置成true.
<configuration>
...
<system.web>
<compilation
debug="true"
...
>
...
</compilation>
</system.web>
</configuration>
你试试按 shift+f11 从类库里能跳出来么
没跳的出来就说明你的断点设的不对,或者进程池中的dll和源码不匹配