Breakpoint not hooked up when debugging in VS.Net 2005

后端 未结 12 1406
庸人自扰
庸人自扰 2020-12-09 23:38

Been running into this problem lately... When debugging an app in VS.Net 2005, breakpoints are not connected. Error indicates that the compiled code is not the same as the

相关标签:
12条回答
  • 2020-12-10 00:20

    http://dpotter.net/Technical/2009/05/upgrading-to-ie8-breaks-debugging-with-visual-studio-2005/

    0 讨论(0)
  • 2020-12-10 00:21

    In Options -> Debugging you can uncheck "require source files to exactly match the original version", which may help.

    0 讨论(0)
  • 2020-12-10 00:25

    I've had a similar problem in the past.

    It was solved by closing Visual Studio and deleting the temporary ASP.NET generated assembly files for the project under "C:\WINDOWS\Microsoft.NET\Framework{framework version}\Temporary ASP.NET Files", re-opening the project.

    Read the post here and the comments to resolve it.

    0 讨论(0)
  • 2020-12-10 00:30

    Can you step through your code up to the line of the breakpoint instead of running and waiting for it to hit? Can you step through code at all?

    0 讨论(0)
  • 2020-12-10 00:31

    AviewAnew - had already done that at the request of the MS tech person. It didn't help to uncheck require source file to match version.

    Mike L - configuration is set to DEBUG and there are now external DLL. Using all local projects except framework references.

    0 讨论(0)
  • 2020-12-10 00:32

    Are you sure the .pdb files are in the same folder as the executable you are running? Make sure the last modified date of both files match, and that VS is attached to that exe (and no other).

    0 讨论(0)
提交回复
热议问题