Edit and continue stopped working after upgrade from 2.0 to 2.5

Yesterday I upgraded from 2.0 to 2.5 and all of a sudden the "Edit and Continue" feature of Visual Studio doesn't work anymore.

Strange thing is that real editting is not allowed, so I'm not able to type in characters on my keyboard. However it is allowed to copy and paste during a break in the debug session. These pastes are taken into account on continue. What's happening here ...

Best regards,

Jan van de Pol

20 comments
Comment actions Permalink

Hello,

We appreciate your feedback.

The corresponding JIRA request has been created, and you are welcome to monitor
its status at http://www.jetbrains.net/jira/browse/RSRP-33420.

Best regards,
- Development Team.


0
Comment actions Permalink

Hello Jan,

so do I understand you correctly that you're unable to type characters in
the editor during debug sessions? Are your files under source control? Are
they writeable on disk?
Are you able to type during debug if you disable ReSharper (Tools|Add-In
Manager). Thanks.


Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


Yesterday I upgraded from 2.0 to 2.5 and all of a sudden the "Edit and
Continue" feature of Visual Studio doesn't work anymore.

Strange thing is that real editting is not allowed, so I'm not able to
type in characters on my keyboard. However it is allowed to copy and
paste during a break in the debug session. These pastes are taken into
account on continue. What's happening here ...

Best regards,

Jan van de Pol



0
Comment actions Permalink

Makes me afraid to upgrade.


0
Comment actions Permalink

Hi,

I also experienced this problem. I upgraded from 2.0.1 to 2.5, edit & continue stopped working. I uninstalled, edit and continue started working, I installed 2.5 edit and continue stopped working.

I have tried a few things, simple classes can be edited, component classes appear to be able to be edited however user controls can not be edited.

I have a solution with a number of user controls in different projects, I’ve tried a couple and none of them would support edit and continue. When I hit a break point then try typing "//" nothing happens, no feedback (e.g. beep) and no editing, however if the file is checked in (source safe) it gets checked out before nothing happens! The other user controls I tried were already checked out.

I find it very disappointing that within minutes of me installing 2.5 I have come across this problem, this suggest to me that your developers are not eating their own dog food.

ReSharper for VS2003 was so good but I’ve had so many problems with the 2005 version, the extra’s it brings to VS are fantastic but right now I feel like it’s costing me more time and pain than it fixes.

I hope this is of help. Please let me know if you require any more info.


Steve.

0
Comment actions Permalink

Hi,

I’ve just tried disabling ReSharper through the Addon Manager as you queried. If I do this before running I can edit the code in the user control. If ReSharper is enabled, or I try to disable it when running I can not edit the code.

Also, I’m having some issues with ReSharper’s behaviour towards the add-in manager, I will post separately about that if their isn’t already an entry for it.

Steve.

0
Comment actions Permalink

I find it very disappointing that within minutes of me installing 2.5
I have come across this problem, this suggest to me that your
developers are not eating their own dog food.


That's absolutely not true! All of our .NET developers use ReSharper (usually
one of the most recent builds) and I believe none of them would ever agree
to program without it (having the choice, of course). We just never use Edit
and Continue.

I hope the problem will be fixed in the nearest days and the fix will be
included into the 2.5.1 version (and an intermediate build with the fix will
be available in a few days too).

Valentin Kipiatkov
CTO and Chief Scientist
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hi,

I also experienced this problem. I upgraded from 2.0.1 to 2.5, edit &
continue stopped working. I uninstalled, edit and continue started
working, I installed 2.5 edit and continue stopped working.

I have tried a few things, simple classes can be edited, component
classes appear to be able to be edited however user controls can not
be edited.

I have a solution with a number of user controls in different
projects, I've tried a couple and none of them would support edit and
continue. When I hit a break point then try typing "//" nothing
happens, no feedback (e.g. beep) and no editing, however if the file
is checked in (source safe) it gets checked out before nothing
happens! The other user controls I tried were already checked out.

I find it very disappointing that within minutes of me installing 2.5
I have come across this problem, this suggest to me that your
developers are not eating their own dog food.

ReSharper for VS2003 was so good but I've had so many problems with
the 2005 version, the extra's it brings to VS are fantastic but right
now I feel like it's costing me more time and pain than it fixes.

I hope this is of help. Please let me know if you require any more
info.

Steve.



0
Comment actions Permalink

Hello Steve,

Hi,

I also experienced this problem. I upgraded from 2.0.1 to 2.5, edit &
continue stopped working. I uninstalled, edit and continue started
working, I installed 2.5 edit and continue stopped working.

I have tried a few things, simple classes can be edited, component
classes appear to be able to be edited however user controls can not
be edited.

I have a solution with a number of user controls in different
projects, I've tried a couple and none of them would support edit and
continue. When I hit a break point then try typing "//" nothing
happens, no feedback (e.g. beep) and no editing, however if the file
is checked in (source safe) it gets checked out before nothing
happens! The other user controls I tried were already checked out.


Could you check what is the state of the "Allow editing of read-only files"
checkbox on the Tools/Options/ Environment /Documents/ tab and the state
of a registry flag HKCU\Sofware\Visual Studio\8\Source Control\UncontrolledInMemoryEditDialogSuppressed?


I find it very disappointing that within minutes of me installing 2.5
I have come across this problem, this suggest to me that your
developers are not eating their own dog food.


The version control system that we use does not make exclusive checkouts.
It is not integrated into Visual Studio. Thus, Edit&Continue works on our
development setup.


ReSharper for VS2003 was so good but I've had so many problems with
the 2005 version, the extra's it brings to VS are fantastic but right
now I feel like it's costing me more time and pain than it fixes.

I hope this is of help. Please let me know if you require any more
info.

Steve.

Best regards,
Andrey Simanovsky


0
Comment actions Permalink

Hello Stephen,

we're now trying to repeat this problem. Could you please tell us what version
control system you're using and does the problem happen on a newly
created solution NOT under source control. Thanks in advance.


Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


Hi,

I also experienced this problem. I upgraded from 2.0.1 to 2.5, edit &
continue stopped working. I uninstalled, edit and continue started
working, I installed 2.5 edit and continue stopped working.

I have tried a few things, simple classes can be edited, component
classes appear to be able to be edited however user controls can not
be edited.

I have a solution with a number of user controls in different
projects, I’ve tried a couple and none of them would support edit and
continue. When I hit a break point then try typing "//" nothing
happens, no feedback (e.g. beep) and no editing, however if the file
is checked in (source safe) it gets checked out before nothing
happens! The other user controls I tried were already checked out.

I find it very disappointing that within minutes of me installing 2.5
I have come across this problem, this suggest to me that your
developers are not eating their own dog food.

ReSharper for VS2003 was so good but I’ve had so many problems with
the 2005 version, the extra’s it brings to VS are fantastic but right
now I feel like it’s costing me more time and pain than it fixes.

I hope this is of help. Please let me know if you require any more
info.

Steve.



0
Comment actions Permalink

Hi Valentin, Andrey and Dmitry,

First thank you all for your quick responses, I hope you don’t mind me replying to you all in one go.

Secondly please don’t get me wrong I love ReSharper, I missed it like crazy when I upgraded from VS2003 to 2005 and I certainly think it’s a tool every .Net develop should own. I would have been shocked if your developers were not using it, I guess they have somewhat of an advantage over me by using the latest builds where I only install your official releases. I’ve had a few minor problems with it recently, things like override not working and ‘: base (‘ giving me completely the wrong thing which I’m glad to see are fixed and then some other issues I had put bug reports in for. Unfortunately this last issue came at a very bad time for the work I was doing and occurred very quickly after I installed the update.

So to answer your questions.

Andrey:
Allow editing of read-only files is ticked.
The value of UncontrolledInMemoryEditDialogSuppressed is 0.

Dmitry:
I am using Visual Source Safe 8.0.50727.42 (Although Team edition of VS2005)
Yes the problem also happens on a newly created solution untouched by version control.

I have spend a little more time trying to figure out what is happening and it appears to be a little strange (As if it was going to be anything else!).

Here’s how I have reproduced the error:

Create a new WinForms project.
Add a User Control.
Add a handle for the double click event.
Add a private method with a little code in.
Call the private method from the double click event handler.
Set breakpoints in both methods.
Add the control to the form.
Run the application.

When you double click on the user control and enter the double click event handler you can edit the code as expected.

When you enter the private method you can no longer edit the code. If you just stepped over the private method you can continue to edit the code.

I’m happy to send you a copy of the project I created if this helps.


Thank you all for your prompt responses. Please keep up the hard work on this product as it really is a gem.


Best Regards,


Steve.

0
Comment actions Permalink

Hello Stephen,

thanks a lot for your information! We recently reproduced the issue with
locking user typing during debug session and fixed it.
The fix will most likely be made available this week in the Nightly Builds
(http://www.jetbrains.net/confluence/display/ReSharper/Nightly+Builds),
so you are encouraged to check it.

Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


Hi Valentin, Andrey and Dmitry,

First thank you all for your quick responses, I hope you don't mind me
replying to you all in one go.

Secondly please don't get me wrong I love ReSharper, I missed it like
crazy when I upgraded from VS2003 to 2005 and I certainly think it's a
tool every .Net develop should own. I would have been shocked if your
developers were not using it, I guess they have somewhat of an
advantage over me by using the latest builds where I only install your
official releases. I've had a few minor problems with it recently,
things like override not working and ': base (' giving me completely
the wrong thing which I'm glad to see are fixed and then some other
issues I had put bug reports in for. Unfortunately this last issue
came at a very bad time for the work I was doing and occurred very
quickly after I installed the update.

So to answer your questions.

Andrey:
Allow editing of read-only files is ticked.
The value of UncontrolledInMemoryEditDialogSuppressed is 0.
Dmitry:
I am using Visual Source Safe 8.0.50727.42 (Although Team edition of
VS2005)
Yes the problem also happens on a newly created solution untouched by
version control.
I have spend a little more time trying to figure out what is happening
and it appears to be a little strange (As if it was going to be
anything else!).

Here's how I have reproduced the error:

Create a new WinForms project.
Add a User Control.
Add a handle for the double click event.
Add a private method with a little code in.
Call the private method from the double click event handler.
Set breakpoints in both methods.
Add the control to the form.
Run the application.
When you double click on the user control and enter the double click
event handler you can edit the code as expected.

When you enter the private method you can no longer edit the code. If
you just stepped over the private method you can continue to edit the
code.

I'm happy to send you a copy of the project I created if this helps.

Thank you all for your prompt responses. Please keep up the hard work
on this product as it really is a gem.

Best Regards,

Steve.



0
Comment actions Permalink

It happens for me, using Team Foundation Studio (TFS) for source control.

"Dmitry Shaporenkov" <dsha@jetbrains.com> wrote in message
news:c8a8945d0c2e8c8f0ba7961d558@news.intellij.net...

Hello Stephen,

>

we're now trying to repeat this problem. Could you please tell us what
version control system you're using and does the problem happen on a newly
created solution NOT under source control. Thanks in advance.

>
>

Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>
>
>> Hi,
>>
>> I also experienced this problem. I upgraded from 2.0.1 to 2.5, edit &
>> continue stopped working. I uninstalled, edit and continue started
>> working, I installed 2.5 edit and continue stopped working.
>>
>> I have tried a few things, simple classes can be edited, component
>> classes appear to be able to be edited however user controls can not
>> be edited.
>>
>> I have a solution with a number of user controls in different
>> projects, I've tried a couple and none of them would support edit and
>> continue. When I hit a break point then try typing "//" nothing
>> happens, no feedback (e.g. beep) and no editing, however if the file
>> is checked in (source safe) it gets checked out before nothing
>> happens! The other user controls I tried were already checked out.
>>
>> I find it very disappointing that within minutes of me installing 2.5
>> I have come across this problem, this suggest to me that your
>> developers are not eating their own dog food.
>>
>> ReSharper for VS2003 was so good but I've had so many problems with
>> the 2005 version, the extra's it brings to VS are fantastic but right
>> now I feel like it's costing me more time and pain than it fixes.
>>
>> I hope this is of help. Please let me know if you require any more
>> info.
>>
>> Steve.
>>
>



0
Comment actions Permalink

I'm using Subversion for my version control server, with TortoiseSVN and
VisualSVN on the client. My files shouldn't be locked, yet typing appears
to be disabled during debug sessions.

I will be trying out the nightly builds. Please let us know when you have
a build that addresses this issue.


0
Comment actions Permalink

Hello Paul & others,

this problem was fixed yesterday. Unfortunately, there is no workaround,
and the source files participating in the active call stack are
indeed locked by ReSharper. We'll publish a Nightly Build containing the
fix ASAP, and the official 2.5.1 bugfix update will also be released soon.

Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


It happens for me, using Team Foundation Studio (TFS) for source
control.

"Dmitry Shaporenkov" <dsha@jetbrains.com> wrote in message
news:c8a8945d0c2e8c8f0ba7961d558@news.intellij.net...

>> Hello Stephen,
>>
>> we're now trying to repeat this problem. Could you please tell us
>> what version control system you're using and does the problem happen
>> on a newly created solution NOT under source control. Thanks in
>> advance.
>>
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Hi,
>>>
>>> I also experienced this problem. I upgraded from 2.0.1 to 2.5, edit
>>> & continue stopped working. I uninstalled, edit and continue
>>> started working, I installed 2.5 edit and continue stopped working.
>>>
>>> I have tried a few things, simple classes can be edited, component
>>> classes appear to be able to be edited however user controls can not
>>> be edited.
>>>
>>> I have a solution with a number of user controls in different
>>> projects, I've tried a couple and none of them would support edit
>>> and continue. When I hit a break point then try typing "//" nothing
>>> happens, no feedback (e.g. beep) and no editing, however if the file
>>> is checked in (source safe) it gets checked out before nothing
>>> happens! The other user controls I tried were already checked out.
>>>
>>> I find it very disappointing that within minutes of me installing
>>> 2.5 I have come across this problem, this suggest to me that your
>>> developers are not eating their own dog food.
>>>
>>> ReSharper for VS2003 was so good but I've had so many problems with
>>> the 2005 version, the extra's it brings to VS are fantastic but
>>> right now I feel like it's costing me more time and pain than it
>>> fixes.
>>>
>>> I hope this is of help. Please let me know if you require any more
>>> info.
>>>
>>> Steve.
>>>


0
Comment actions Permalink

We'll publish a Nightly Build containing
the
fix ASAP, and the official 2.5.1 bugfix update will also be released
soon.


Please announce when you've added the fix to the Nighly Build. I want my
Edit and Continue back!


0
Comment actions Permalink

Hallo flipdoubt,

Please announce when you've added the fix to the Nighly Build. I want my
Edit and Continue back!


http://www.jetbrains.net/confluence/display/ReSharper/Nightly+Builds

Grüße

ALbert

0
Comment actions Permalink

Grüße


Sorry, I don't know what "Grüße" means. I know where I can find the nightly
build, but I don't know whether it contains the fix for this issue.


0
Comment actions Permalink

Hello flipdoubt,

the nightly build 327 should contain the fix, please give it a try.


Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"



>> Grüße
>>

Sorry, I don't know what "Grüße" means. I know where I can find the
nightly build, but I don't know whether it contains the fix for this
issue.



0
Comment actions Permalink

Hallo flipdoubt,

>> Grüße


Sorry, I don't know what "Grüße" means. I know where I can find the nightly
build, but I don't know whether it contains the fix for this issue.


Grüße is german and means something like "Regards".

On the page in a link called "fixes" then you can see all the fixes done in
this build, so that you can better decide to install the build or not.

--
Freundliche Grüße

Albert Weinert
http://der-albert.com

0
Comment actions Permalink

Grüße is german and means something like "Regards".

On the page in a link called "fixes" then you can see all the fixes
done in this build, so that you can better decide to install the build
or not.


Thanks for the explanation. I'm just an ignorant American.

Grüße


0
Comment actions Permalink

Hi Dmitry,

Thanks for your prompt attention to this.

I installed Build 327 earlier and the problem appears to be fixed.


Best wishes for the New Year,


Regards,


Steve.

0

Please sign in to leave a comment.