|
-
Aug 10th, 2017, 01:49 AM
#1
Thread Starter
New Member
"Edit and Continue" while Debugging and Running application in VS 2008
Hello All !! I want "edit and continue" option to work in my visual studio 2008 , so that i could able to modify or edit application while running and debugging them. Because this process eat lots of time while working on application , and for every single change , i have to close the debugging or running process to make changes. I have done a hell lot of research on this topic on internet but nothing seems quite working. .Please Help me to tackle this problem if you have any "Upright" solution .
Thanks
-
Aug 10th, 2017, 05:38 AM
#2
Addicted Member
Re: "Edit and Continue" while Debugging and Running application in VS 2008
-
Aug 10th, 2017, 05:55 AM
#3
Thread Starter
New Member
Re: "Edit and Continue" while Debugging and Running application in VS 2008
 Originally Posted by bmwpete
Yes it is enabled already under the "Tools" - Options- Debugging- Edit/Continue Option.. but its not working
-
Aug 10th, 2017, 06:19 AM
#4
Addicted Member
Re: "Edit and Continue" while Debugging and Running application in VS 2008
-
Aug 10th, 2017, 06:24 AM
#5
Thread Starter
New Member
Re: "Edit and Continue" while Debugging and Running application in VS 2008
 Originally Posted by bmwpete
Already checked that link Dear ..Not working !! please post a valid answer instead of referring links , if you have one !!
Last edited by sunilchand; Aug 10th, 2017 at 06:28 AM.
-
Aug 10th, 2017, 06:41 AM
#6
Addicted Member
Re: "Edit and Continue" while Debugging and Running application in VS 2008
I am not a mind reader or your personel search monkey. Perhaps consider updating to later version, why are you still using an out of date product?
-
Aug 10th, 2017, 07:10 AM
#7
Thread Starter
New Member
Re: "Edit and Continue" while Debugging and Running application in VS 2008
 Originally Posted by bmwpete
I am not a mind reader or your personel search monkey. Perhaps consider updating to later version, why are you still using an out of date product?
Ahh ok.. Not allowed in a firm where i am working !! May be licence issue !! so have to find a way though ! Lets see
Last edited by sunilchand; Aug 10th, 2017 at 07:13 AM.
-
Aug 10th, 2017, 08:51 AM
#8
Re: "Edit and Continue" while Debugging and Running application in VS 2008
You're not working on an AnyCPU or x64 application, are you? It took Microsoft something like 5 years to implement Edit and Continue for x64 code. The default in 2008 was AnyCPU, and if you're on a computer newer than 12 years old it's probably x64. Later MS changed the default to x86 because they figure if they ignore it, it will go away.
This answer is wrong. You should be using TableAdapter and Dictionaries instead.
-
Aug 10th, 2017, 11:32 PM
#9
Thread Starter
New Member
Re: "Edit and Continue" while Debugging and Running application in VS 2008
 Originally Posted by Sitten Spynne
You're not working on an AnyCPU or x64 application, are you? It took Microsoft something like 5 years to implement Edit and Continue for x64 code. The default in 2008 was AnyCPU, and if you're on a computer newer than 12 years old it's probably x64. Later MS changed the default to x86 because they figure if they ignore it, it will go away.
Not clearly understanding what you are saying, but it shows following messages "Changes to 64-bit applications are not allowed"(when break point is inserted in the code) and "Cannot currently modify this text in the editor.It is read only"(when break point isn't inserted) , while running application. I have already mentioned that i have already enabled "Edit and continue" option by navigating through Tools-Options-Debugging-Edit and continue. but that doesn't work and it show aforementioned errors while doing so !
-
Aug 11th, 2017, 06:48 AM
#10
Addicted Member
Re: "Edit and Continue" while Debugging and Running application in VS 2008
If this was true
I have done a hell lot of research on this topic on internet but nothing seems quite working
you would have seen the reasoning behind 'Sitten Spynne' reply.
-
Aug 11th, 2017, 07:28 AM
#11
Re: "Edit and Continue" while Debugging and Running application in VS 2008
It doesn't matter if the option is turned on. "Changes to 64-bit applications are not allowed" means you cannot use the feature. It's like trying to start a car when there's no gas in the tank. It doesn't work.
Look in your project properties. The target platform is probably 'x64' or 'AnyCPU'. You can probably use Edit and Continue if you change it to 'x86'.
Personally I've always found Edit and Continue leads to strange and spectacular bugs that can only happen when bad state from 5 or 6 intermediate efforts accumulate. It's better to have a good suite of unit tests.
This answer is wrong. You should be using TableAdapter and Dictionaries instead.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|