Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-287932: bugs while attempting to rename objects in Debug mode (when app is running and all sources are locked)

$
0
0
Reporter Jakub Jiricek (jakub.jiricek@vodafone.com) Jakub Jiricek (jakub.jiricek@vodafone.com)
Created Jan 23, 2012 11:59:59 AM
Updated Jan 23, 2012 11:59:59 AM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Sergey Shkredov (serjic.shkredov)
Subsystem Refactoring
Affected versions 6.1.1
Fixed in build No Fixed in build
I tried to rename a method while VS was running my app in debug mode (without pausing the app). see screenshot1,2

I got an "Unknown Error" message.(screenshot3) After that, the lock icon disappeared and the file became editable while the app was still running (this is a bug, IMHO)

Another time I tried to do the same but this time R# allowed me to change 2 source files, then I tried Undo but was able to undo only one of the files. (I was unable to reproduce and make screenshots)

Another time I tried to rename a field that is being referenced from many other places. R# started to analyze, I went through a few steps of the renaming wizard, but then it stopped responding (the wizard did not repaint so I was unable to click the Cancel button). Later the whole VS stopped responding and finally it crashed.

my suggestion is to detect this state on the very beginning (before R# asks for new object name etc) and display an error message, something like "Cannot refactor when all source files are locked". otherwise R# might waste a lot of time and then later come into troubles.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>