1

I have been bashing my head against this all morning without success. I have inherited a project from long gone developers and there is now, what I thought would be, a minor change to some code.

Every time I add a breakpoint I get the message shown below. The censor blocks are just hiding our customer's name.

enter image description here

I have attempted multiple times to rebuild the project but I still get the same issue that the server runs to old version of the code.

I have followed the instructions here and here but they have not helped.

Any suggestions?

Community
  • 1
  • 1
Burgi
  • 421
  • 8
  • 24
  • Did you make sure the server has the latest version of the code? – mason Sep 06 '16 at 13:32
  • @mason the code I have is the same as the live version. I grabbed this code direct off the server via FTP as this project was not previously in source control. – Burgi Sep 06 '16 at 13:48
  • Did you try following the directions in the error message? – mason Sep 06 '16 at 13:49
  • Yes I did and I still can't hit the breakpoint. – Burgi Sep 06 '16 at 13:53
  • @Burgi, do you mean that you have enabled the option: uncheck "Require source files to exactly match the original version" and "Enable Just My Code" under TOOLS->Options->Debugging? If one file is different from the one which was compiled into the executable during debugging, can you find and reference the matched version file? It seems that it was related to the specific .cs file, can you remove and re-add the correct version again? – Jack Zhai Sep 07 '16 at 11:02
  • @Burgi, any updates? – Jack Zhai Sep 11 '16 at 03:48
  • @JackZhai I have ensured that those options are unticked and ticked respectively and I don't get the warning any more but the breakpoints still aren't hit. – Burgi Sep 12 '16 at 09:26
  • @Burgi, put the mouse on the breakpoint which was not hit in debugging time, do you get any other warning messages? Do you enable the symbols server under TOOLS->Options->Debugging->Symbols? – Jack Zhai Sep 12 '16 at 10:24
  • I have enabled the symbols but there is no change – Burgi Sep 12 '16 at 13:32
  • @Burgi, do you get any messages? Please also view the output windows during debugging time. – Jack Zhai Sep 14 '16 at 02:02

0 Answers0