Always need to do clean and rebuild in visual studio

Asked

Viewed 351 times

3

I have a problem in my Solution in visual studio 2012.

Whenever I need to debug and fall into a break point, I need to clean and rebuild in my Solution, otherwise it runs, but not for us break point

The project has 4 library class and 15 web projects, using TFS for version control

Someone has been there and knows the solution to this problem?

  • You are running as an administrator?

  • Yes, as an administrator

  • I remember the dark times when I had to use this tool, it created a hidden file with properties of the project, only when I used to touch d+ with breakpoints, the visual studio had a bug that made these properties files become giant, it was some Leak. This also made breakpoints not work, or not loaded correctly. It could be .suo, .sdf or another extension whose file is hidden and which is of a reasonable size. I recommend deleting them and see if it returns to normal.

  • Bugs: http://blog.richardszalay.com/2010/01/25/massive-suo-file-causes-visual-studio-to-hang-when-doing-pretty-much-anything/ http://social.msdn.microsoft.com/Forums/vstudio/en-US/e58cd8c6-306d-4668-a4b1-a1bd033547dd/star-tingand-stopping-debung-session-is-slow-er-than-thangusual?forum=vsdebug

2 answers

1

Note that your breakpoint meets the solid color. It happens in some cases where you make changes to the source code, and you start debug by attaching the process manually, and in fact this requires you to build the application again, in which case the notification below is informed.

inserir a descrição da imagem aqui

  • It is, and there’s no message.

0

I’ve had problems for a long time, with a mixture of reference types within the same project. If this is your case, make all references within the same project references instead of referring directly to Dlls.

I remember that we made DLL references to Dlls that were rarely compiled but were within the same project, to make the compilation faster. Then the breakpoints went crazy, because sometimes a project made reference and design and other not, then the breakpoint appeared all filled, but stopped in it intermittently.

I don’t know if this still occurs with newer versions of VS, but it’s worth checking your references.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.