Visual Studio 2010 C# Debugger Does not Stop on New Breakpoints -


i have c# program in debugger has peculiar behavior in regards breakpoints.

  1. if breakpoints set when "start debugging", debugger stops @ breakpoints.

  2. if add breakpoints while program running, debugger not stop @ of breakpoints. however, debugger continue stop @ breakpoints set when started program. new breakpoints work correctly, have stop program , start again or detach , re-attach debugger.

  3. also, if disable breakpoint while program running , re-enable breakpoint, debugger no longer stops on breakpoint. in order breakpoint work correctly again, have stop program , start again or detach , re-attach debugger.

i prefer not have detach , re-attach debugger every time want add new breakpoint. know why happening , how make debugger correctly stops @ breakpoints added during runtime? doesn't happen other programs. 1 program has issue. of other programs i've ever debugged, able set breakpoints during runtime , debugger stops no problems.

i using visual studio 2010 service pack 1 , .net framework 4. though, issue existed when using older versions of .net framework.

clean solution , rebuild again. solve problem


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -