# 一

unable to hit the breakpoint

Start debugging, as soon as you've arrived at a breakpoint or used Debug > Break All, use Debug > Windows > Modules.

You'll see a list of all the assemblies that are loaded into the process.

Locate the one you want to get debug info for.

Right-click it and select Symbol Load Information.

You'll get a dialog that lists all the directories where it looked for the .pdb file for the assembly.

Verify that list against the actual .pdb location.

Make sure it doesn't find an old one.

In normal projects, the assembly and its .pdb file should always have been copied by the IDE into the same folder as your .exe.

The bin\Debug folder of your project.

Make sure you remove one from the GAC if you've been playing with it.

# 三  website

1.website临时文件夹中的pdb和dll文件，删除后，会自动根据临时文件夹中的cs文件生成新的。

2.website临时文件夹中的cs文件删除后,会自动重新生成cs和dll文件

删除文件的之前，要把网页的访问关闭，最后停止vs的debug,iis中的线程池可以不停止。

#pragma checksum "D:\ChuckLu\GitForSvn\Lisa4.3\LISA.CMSWeb\LISA.CMSWeb\CMSWebParts\LISA\NoUse\Member\LISAMemberForgotPassword.ascx.cs" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "FCFB551D12F4A236BAF470CFB7F010AE81376590"

# 六

In my situation, the Visual Studio loads the DLLs in Global Assembly Cache (GAC), not the DLL in my project list.

I deleted the DLLs in GAC and now I can see the break point working.

# 七

posted @ 2014-12-05 10:28  ChuckLu  阅读(1087)  评论(0编辑  收藏  举报