debugging - visual studio edit and continue does not work -


in project hybrid project (in previous web forms project modified use mvc pattern)

now want in debud mode want change sthng in cs file want changed code run

i tried enabling or disabling tools-> options -> debud -> edit , continue checkbox part

when enabled cant change codes in project while debugging when diabled can change codes not affect on running part. example

  int = 0;   if(i == 1)     return 1;   else     return 2; 

in debug mode changed 'i' 1 still return 2 in following code when stop , re debug affects.

 int = 1;   if(i == 1)     return 1;   else     return 2; 

btw m using visual studio 2010 version.

the solution of problem on microsoft documentation... after enable tools-> options -> debud -> edit , continue.... there more do..

if intellitrace enabled , collect both intellitrace events , call information, edit , continue disabled.

on visual studios' menu go on tools>>options - select "intellitrace" tab , let intellitrace events only checked.. save, restart visual studio and.......

your edit , continue work again!


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -