Problems with Solution Wide Analysis of R#'s 5.0 first EAP build (1517)

Hi there,

I just tried the R# 5.0 first EAP build.

I usually use the Solution Wide Analysis feature (not sure if this is the right name but it is the feature that tells me if I have errors solution wide ).

I had the maintenance build 4.5.1 installed (the one from the website, not one of the EAPs builds that were released after that).

I installed the 5.0 version directly without uninstalling the previous version, since in earlier setups they were uninstalled correctly.

Everything went OK with the installation.

I started VS2008 and opened my solution (not a huge solution but has 9-10 C# projects and 2 C++ projects)
The directory structure that has all my solution files is a little strange because it has some subdirectories with other kind of files that are not directly part of the solution (some really big XML files and images and other kinds of files). The really big XML files was I problem that I posted before the final 4.5 release and was fixed (Thank you).

So I opened the solution and the solution analysis was off. I started by double clicking the icon.
Resharper starts Loading caches and never gets past the following message:

"Resharper is synchronizing.
Loading caches: File Images"

I tried cleaning the caches but that did not help. Same message.

Did anyone had the same issue?
Is there any way to give you more detailed information?
Any idea what could cause this? (was working perfectly with the 4.5.1 build)

Oh, another very small issue I noticed (probably I should post another thread).
When updating to this version, as far as I could tell, all the old configurations were maintained except from one.
I usually prefer to use the Outline Highlight for the Braces and Parentheses. That option reverted to the default one, highlight with color.
Is this expected?

Thank you.
Best,
Luís

16 comments

I upgrade from 4.5.1

I haven't come across any issues with the analysis. I've used it on two C# solutions so far. One has 4 projects with 100 + files The other solution has 10 projects with 200 + files.
It seems to be a bit slower then the previous version but it is not really that noticeable.

I had and still have the outline style for braces.

-eric

0

ok,

most probably is something on my end.

I will try to reinstall R# tomorrow.

Thanks for your feedback.

Best,
Luís

0

Hi,

after uninstalling and reinstalling R# (now with the 1519 EAP build...) I still have the same problems. Same message appears on my original post.

Even with different Solutions (simpler solutions with only 1 and 2 projects)

The VS process is working although using only 4-5% of CPU, no noticeable disk access and occasionally I get a "Microsoft Visual Studio Delay Notification"

Is there any way that I can get some kind of detailed log of the solution analysis process to know more specifically where the problem resides? And so I can upload it to JIRA?

Thanks.

Best,
Luís

0

Hello Louis
     Do you see (through Task Manager) the JetBrains.ReSharper.ExternalProcessStorage.Process.exe process running while ReSharper's status is 'File images'?

Andrey Serebryansky

Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"
0

Hi,

well... the process is there but no CPU change, neither in the memory used (2.200K private working set)

Is there any way to force a dump file of what it is doing so we can see more accurately where it is stoping?

Thanks.

Best,
Luís

0

Hi,

I tried with the 1522 build and still have not luck with this functionality.

I thought that might be some problem with my configuration somewhere in my PC and I installed the same build on another one (the difference here is that the 2nd PC never had R# installed before).
In the second PC, the Solution Wide Analysis functioned has expected.

I went back to my development machine and uninstalled R# e tried to delete all the related files I could find (registry entries, AppData folders, clean the Temp files among other small things). After that I installed the same build and the same problem (I start to think that this could be my VS2008 installation or some other plugin I have installed).
The plugins I have installed are AnkhSvn (v2.1.7141), GhostDoc (latest version) and Clone Detective (v1.0).

But what makes me more inclined that this could be a R# 5 EAP related problem is that I uninstalled the 1522 build and installed the 4.5.1 build again. And yes, with v4.5.1. the functionality works as expected.

I tried with different solution files, some extremely small (1 project, created on purpose just for testing) others a little bigger (10-12 projects).

Is there anything that I could do to help pinpoint the problem?

Thanks.

Best,
Luís

0

Hello Luis
     Could you please attach another instance of Visual Studio with debugger to the one which is in 'Loading caches: file images' state, break the execution and gather contents of Debug > Windows > Call Stack for each of the threads under Debug > Windows > Threads? Thank you!

Andrey Serebryansky

Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

Hello,

Here you go.
I hope this is what you asked for.

This was with the latest build (1523).


Best,
Luis



Attachment(s):
R#.txt.zip
0

Hi,

was the information I sent what you wanted?

I tried with the new build (1529) and before I started the Solution Wide Analysis, I placed the memory information in the status bar of VS2008.

At this moment, the Analysis is active for 20 minutes ("stopped" at the same place as before) but the memory information is always changing (sometimes the value increments around 0.3MB, others decreases around the same value) as if it is really working on something.

This happens in different solution files and only with the EAP builds for v5.0 (version 4.5.2 works perfectly).

Thanks.

Best,
Luís

0

Hi,

I have the same problem with hanging wide-analysis on R# 5.0 at home laptop (Windows 32-bit Business Vista, VS 2008(with R# 4.5), VS 2010 Beta 2 (R# 5.0)), but on my work (VS 2010 Beta 2) R# 5.0 works fine.

I use ReSharperSetup.5.0.1607.39 nightly build.

What the problem with R# 5.0 is?

0

I am getting the same problem with Build 5.0.1659.36  on 2010-04-13T2:19:06.

I was able to get back in to use VS 10.0.30319.1 RTMRel by going to the <Solution Name>.5.0.ReSharper.user file and changing the True to a False on the setting line for SolutionAnalysisEnabled:

<Configuration>
  <SettingsComponent>
    <string />
    <integer />
    <boolean>
      <setting name="SolutionAnalysisEnabled">True</setting>
    </boolean>
  </SettingsComponent>

getting the line:

      <setting name="SolutionAnalysisEnabled">False</setting>

Is there a real fix for this coming?

Is this going to cause me any problems as long as I don't use Solution Wide Analysis?

0

As far as I know there is no fix for this bug, but issue accepted.

http://youtrack.jetbrains.net/issue/RSRP-171570

0

Larry, what hardware configuration do you have?

0

Hi,

I had this problem with VS2008 in my old laptop.

When I installed VS2010 in my new laptop, I never had any more problems with this.

When I had the problem, I only had it after upgrading my R#4.5 to the nightly builds of R#5 I mentioned in previous posts (didn't had the chance to try with the final version of R#5).
This problem only appeared on R#5. In the same machine, same configuration, I uninstalled R#5 and installed v4.5 that I had installed previouly and the Solution Wide Analysis was working again.

It was a little strange.

Best,
Luis

0

I just got a new Dell XPS8100 with an i5 750 @2.67 GHz, 8GB memory, running Win7 Pro x64.

0

I'm having the same problem in 5.1.3000.

Offending callstack:
> JetBrains.Platform.ReSharper.Util.dll!JetBrains.Util.IOUtil.DirectoryExists(string path) + 0x5 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Util.FileSystemPath.ExistsDirectory.get() + 0x46 bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Application.Changes.FileSystemTracker.FileSystemTrackerImpl.TryInitFileSystemWatcher(JetBrains.Application.Changes.FileSystemTracker.FileSystemTrackerImpl.Watcher watcher) + 0x6b bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Application.Changes.FileSystemTracker.FileSystemTrackerImpl.ProcessPendingWatchers() + 0xf8 bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Application.Changes.FileSystemTracker.FileSystemTrackerImpl.CommitChanges(JetBrains.Application.Progress.ITaskExecutor executor, bool doSync) + 0x19 bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.VsIntegration.ProjectModel.VsFileSystemSynchronizer.SynchronizeWithFileSystem() + 0xc1 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ReentrancyGuard.Execute(string name, System.Action action) + 0x79 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(string name, System.Action action) + 0x64 bytes
JetBrains.Platform.ReSharper.Shell.dll!JetBrains.Threading.Invocator.ExecuteOrQueue(string name, System.Action action) + 0x12 bytes
JetBrains.Platform.ReSharper.VSIntegration.dll!JetBrains.VsIntegration.ProjectModel.VsFileSystemSynchronizer.Init.AnonymousMethod__1() + 0x5f bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.DataFlow.ISignalEx.Advise_RaisingFront<bool>.AnonymousMethod__42(JetBrains.DataFlow.PropertyChangedEventArgs<bool> args) + 0x5f bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.DataFlow.Signal<JetBrains.DataFlow.PropertyChangedEventArgs<bool>>.NotifySinks(JetBrains.DataFlow.PropertyChangedEventArgs<bool> payload) + 0x50 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.DataFlow.Signal<JetBrains.DataFlow.PropertyChangedEventArgs<bool>>.Fire(JetBrains.DataFlow.PropertyChangedEventArgs<bool> value, object cookie) + 0x10f bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.DataFlow.Property<bool>.FireChange(bool old, bool new, object cookie) + 0x5c bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.DataFlow.Property<bool>.SetValue(bool value, object cookie) + 0x1a1 bytes
JetBrains.Platform.ReSharper.UI.dll!JetBrains.UI.Application.IsApplicationActiveTracker.UpdateActive.AnonymousMethod__e() + 0x25 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.JetDispatcher.Closure.Execute(object dummy) + 0x101 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.Threading.JetDispatcher.BeginOrInvoke(string name, System.Action action) + 0x57 bytes
JetBrains.Platform.ReSharper.UI.dll!JetBrains.UI.Application.IsApplicationActiveTracker.UpdateActive(JetBrains.DataFlow.IProperty<bool> property) + 0x8c bytes
JetBrains.Platform.ReSharper.UI.dll!JetBrains.UI.Application.IsApplicationActiveTracker..ctor.AnonymousMethod__5(object sender, JetBrains.UI.Interop.WindowsMessageEventArgs args) + 0xc5 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.UI.Interop.WindowsMessageHook.OnHookedMessage(object sender, JetBrains.UI.Interop.HookEventArgs args) + 0x227 bytes
JetBrains.Platform.ReSharper.Util.dll!JetBrains.UI.Interop.WindowsHook.CoreHookProc(int code, System.IntPtr wParam, System.IntPtr lParam) + 0x86 bytes
[Native to Managed Transition]
[Managed to Native Transition]
WindowsBase.dll!MS.Win32.HwndSubclass.DefWndProcWrapper(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0x50 bytes
[Native to Managed Transition]
[Managed to Native Transition]
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0x140 bytes
[Native to Managed Transition]
[Managed to Native Transition]
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.RestoreFocusScope.PerformRestoration() + 0x4b bytes
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.HwndSourceTracker.HandleActivate(System.IntPtr wParam, System.IntPtr lParam) + 0x99 bytes
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.HwndSourceTracker.HwndSource_MessageHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0xde bytes
PresentationCore.dll!System.Windows.Interop.HwndSource.PublicHooksFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x7e bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0xbe bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x7d bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x53 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x42 bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0xb4 bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0x104 bytes
[Native to Managed Transition]
[Managed to Native Transition]
WindowsBase.dll!MS.Win32.UnsafeNativeMethods.SetFocus(System.Runtime.InteropServices.HandleRef hWnd) + 0x58 bytes
PresentationCore.dll!System.Windows.Interop.HwndKeyboardInputProvider.System.Windows.Input.IKeyboardInputProvider.AcquireFocus(bool checkOnly) + 0xa3 bytes
PresentationCore.dll!System.Windows.Input.KeyboardDevice.TryChangeFocus(System.Windows.DependencyObject newFocus, System.Windows.Input.IKeyboardInputProvider keyboardInputProvider, bool askOld, bool askNew, bool forceToNullIfFailed) + 0x181 bytes
PresentationCore.dll!System.Windows.Input.KeyboardDevice.Focus(System.Windows.DependencyObject focus, bool askOld, bool askNew, bool forceToNullIfFailed) + 0x95 bytes
PresentationCore.dll!System.Windows.Input.KeyboardDevice.Focus(System.Windows.IInputElement element) + 0x3d bytes
PresentationCore.dll!System.Windows.Input.Keyboard.Focus(System.Windows.IInputElement element) + 0x19 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FocusableHwndHost.SetFocusToHwndHost(bool allowFocusToDelegateToHostedWindow, System.IntPtr hwndGainFocus) + 0x75 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.FocusableHwndHost.System.Windows.Interop.IKeyboardInputSink.TabInto(System.Windows.Input.TraversalRequest request) + 0x1f bytes
PresentationFramework.dll!System.Windows.Input.KeyboardNavigation.Navigate(System.Windows.DependencyObject currentElement, System.Windows.Input.TraversalRequest request, System.Windows.Input.ModifierKeys modifierKeys, System.Windows.DependencyObject firstElement) + 0x2e9 bytes
PresentationFramework.dll!System.Windows.FrameworkElement.MoveFocus(System.Windows.Input.TraversalRequest request) + 0x2e bytes
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.FocusHelper.MoveFocusInto(System.Windows.UIElement element) + 0x3b bytes
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.PendingFocusHelper.SetFocusOnLoad(System.Windows.FrameworkElement element) + 0x40 bytes
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.FocusInnerContent() + 0x46 bytes
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate() + 0x111 bytes
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(object sender, Microsoft.VisualStudio.PlatformUI.Shell.ActiveViewChangedEventArgs e) + 0x160 bytes
Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent<System.__Canon>(System.EventHandler<System.__Canon> eventHandler, object source, System.__Canon args) + 0x14 bytes
Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(Microsoft.VisualStudio.PlatformUI.Shell.View view, Microsoft.VisualStudio.PlatformUI.Shell.ActivationType type) + 0x9e bytes
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MouseActivate() + 0x6b bytes
Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.GenericPaneClientHwndHost.GenericPaneHwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0x1a4 bytes
[Native to Managed Transition]
[Managed to Native Transition]
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0x140 bytes

0

Please sign in to leave a comment.