开发者

Visual Studio: step into assembly

I have a project that references an assembly that I have the code to. I also have all of the PDB files, etc. However, at some point I clicked the wrong button on a dialog box while debugging, and now I can no longer step into the assembly code. I know 开发者_JS百科this description is a bit vague, but I believe that the dialog that I accidentally clicked through was the one that complains when your "source code is newer than the built version of the assembly, continue debugging?" but I can't be sure. At any rate, I am positive that there is some easy way to get Visual Studio back in a state where it will start stepping through my assembly code again. Any great ideas?


Please ensure the following in your child project:-

  • "build clean" your child project. please ensure that all dll and pdb files have been deleted from the bin\debug folder in your child project.

  • "build" your child project by clicking build or ctrl-shift-b. Please do not hit F5 as for some reason it does not get the latest dll and pdb file.

  • please ensure that you do not have a reference to the "Release" build of the parent dll, sometimes it has caused problems for me depending on the release build configuration for that project. It should be the "Debug" build configuration for the parent project and you should add reference from the debug folder or use "Reference Path" in visual studio.

Now you can run the project by hitting F5.

Hope this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜