When trying to use the Ctrl-Click option to Navigation to a type or function declaration and if the file is currently open but not in the visible set of tabs (in VS 2005 the number of tabs currently visible is limited by screen size, you can have more files open but only a few are visible, you would need to use the drop down on the top to activate a file that's not currently visible), Resharper is trying to open the file again and it crashes both the Visual Studio IDE and Resharper. I am using build #256.
Yes it does, I was not able to submit the exception to the Tracking Center but I've pasted the exception below :-
JetBrains.ReSharper.Util.InternalErrorException: An exception has occurred ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Microsoft.VisualStudio.Shell.Interop.IVsProject2.OpenItem(UInt32 itemid, Guid& rguidLogicalView, IntPtr punkDocDataExisting, IVsWindowFrame& ppWindowFrame) at JetBrains.ReSharper.EditorManager.VSIntegration.VSEditorManager.CreateTextControlForFile(IProjectFile file, Boolean activate) in c:\Agent\work\ReSharper2.0\src\VSAddin\src\EditorManager\VSEditorManager.cs:line 236 at JetBrains.ReSharper.EditorManager.VSIntegration.VSEditorManager.OpenProjectFile(IProjectFile file, Boolean activate) in c:\Agent\work\ReSharper2.0\src\VSAddin\src\EditorManager\VSEditorManager.cs:line 79 at JetBrains.ReSharper.CodeInsight.Navigator.TextControlNavigationResult.Show(Boolean activate) in c:\Agent\work\ReSharper2.0\src\IDECore\src\Navigation\TextControlNavigationResult.cs:line 49 at JetBrains.ReSharper.Navigation.Navigator.PopupListProvider.Action(Object item) in c:\Agent\work\ReSharper2.0\src\IDECore\src\Navigation\Navigator.cs:line 156 at JetBrains.ReSharper.UI.MultipleAlternativesProcessor.Run(IPopupListProvider popupListProvider, IPositionProvider positionProvider, String noItemsMessage, Boolean skipOneItem) in c:\Agent\work\ReSharper2.0\src\IDECore\src\UI\MultipleAlternativesProcessor.cs:line 36 --- End of inner exception stack trace ---
at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 327 column 9 at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 339 column 5 at JetBrains.ReSharper.UI.MultipleAlternativesProcessor.Run(IPopupListProvider, IPositionProvider, String, Boolean) in c:\Agent\work\ReSharper2.0\src\IDECore\src\UI\MultipleAlternativesProcessor.cs:line 40 column 11 at JetBrains.ReSharper.Navigation.Navigator.Navigate(IDeclaredElement, Boolean, Boolean, IPositionProvider) in c:\Agent\work\ReSharper2.0\src\IDECore\src\Navigation\Navigator.cs:line 105 column 5 at JetBrains.ReSharper.CodeInsight.MiscActions.PopupListProvider.Action(Object) in c:\Agent\work\ReSharper2.0\src\CodeInsight\src\MiscActions\GotoDeclarationUtil.cs:line 143 column 7 at JetBrains.ReSharper.UI.MultipleAlternativesProcessor.Run(IPopupListProvider, IPositionProvider, String, Boolean) in c:\Agent\work\ReSharper2.0\src\IDECore\src\UI\MultipleAlternativesProcessor.cs:line 36 column 11 at JetBrains.ReSharper.UI.MultipleAlternativesProcessor.Run(IPopupListProvider, IPositionProvider, String) in c:\Agent\work\ReSharper2.0\src\IDECore\src\UI\MultipleAlternativesProcessor.cs:line 17 column 4 at JetBrains.ReSharper.CodeInsight.MiscActions.HyperLink.Navigate() in c:\Agent\work\ReSharper2.0\src\CodeInsight\src\MiscActions\ControlClick.cs:line 95 column 11 at JetBrains.ReSharper.CodeInsight.MiscActions.ControlClick.OnMouse(Object, HookEventArgs) in c:\Agent\work\ReSharper2.0\src\CodeInsight\src\MiscActions\ControlClick.cs:line 172 column 9 at JetBrains.UI.Interop.WindowsHook.CoreHookProc(Int32, IntPtr, IntPtr) in c:\Agent\work\ReSharper2.0\src\JetBrainsShared\Interop\WindowHook.cs:line 132 column 7 at Microsoft.VisualStudio.Shell.Interop.IVsProject2.OpenItem(UInt32, Guid&, IntPtr, IVsWindowFrame&) at JetBrains.ReSharper.EditorManager.VSIntegration.VSEditorManager.CreateTextControlForFile(IProjectFile, Boolean) in c:\Agent\work\ReSharper2.0\src\VSAddin\src\EditorManager\VSEditorManager.cs:line 236 column 9 at JetBrains.ReSharper.EditorManager.VSIntegration.VSEditorManager.OpenProjectFile(IProjectFile, Boolean) in c:\Agent\work\ReSharper2.0\src\VSAddin\src\EditorManager\VSEditorManager.cs:line 79 column 11 at JetBrains.ReSharper.CodeInsight.Navigator.TextControlNavigationResult.Show(Boolean) in c:\Agent\work\ReSharper2.0\src\IDECore\src\Navigation\TextControlNavigationResult.cs:line 49 column 7 at JetBrains.ReSharper.Navigation.PopupListProvider.Action(Object) in c:\Agent\work\ReSharper2.0\src\IDECore\src\Navigation\Navigator.cs:line 157 column 6 at JetBrains.ReSharper.UI.MultipleAlternativesProcessor.Run(IPopupListProvider, IPositionProvider, String, Boolean) in c:\Agent\work\ReSharper2.0\src\IDECore\src\UI\MultipleAlternativesProcessor.cs:line 36 column 11 at JetBrains.ReSharper.Navigation.Navigator.Navigate(IDeclaredElement, Boolean, Boolean, IPositionProvider) in c:\Agent\work\ReSharper2.0\src\IDECore\src\Navigation\Navigator.cs:line 105 column 5 at JetBrains.ReSharper.CodeInsight.MiscActions.PopupListProvider.Action(Object) in c:\Agent\work\ReSharper2.0\src\CodeInsight\src\MiscActions\GotoDeclarationUtil.cs:line 143 column 7 at JetBrains.ReSharper.UI.MultipleAlternativesProcessor.Run(IPopupListProvider, IPositionProvider, String, Boolean) in c:\Agent\work\ReSharper2.0\src\IDECore\src\UI\MultipleAlternativesProcessor.cs:line 36 column 11 at JetBrains.ReSharper.UI.MultipleAlternativesProcessor.Run(IPopupListProvider, IPositionProvider, String) in c:\Agent\work\ReSharper2.0\src\IDECore\src\UI\MultipleAlternativesProcessor.cs:line 17 column 4 at JetBrains.ReSharper.CodeInsight.MiscActions.HyperLink.Navigate() in c:\Agent\work\ReSharper2.0\src\CodeInsight\src\MiscActions\ControlClick.cs:line 95 column 11 at JetBrains.ReSharper.CodeInsight.MiscActions.ControlClick.OnMouse(Object, HookEventArgs) in c:\Agent\work\ReSharper2.0\src\CodeInsight\src\MiscActions\ControlClick.cs:line 172 column 9 at JetBrains.UI.Interop.WindowsHook.CoreHookProc(Int32, IntPtr, IntPtr) in c:\Agent\work\ReSharper2.0\src\JetBrainsShared\Interop\WindowHook.cs:line 132 column 7
> >> Hi , >> >> When trying to use the Ctrl-Click option to Navigation to a type or >> function declaration and if the file is currently open but not in the >> visible set of tabs (in VS 2005 the number of tabs currently visible >> is limited by screen size, you can have more files open but only a few >> are visible, you would need to use the drop down on the top to >> activate a file that's not currently visible), Resharper is trying to >> open the file again and it crashes both the Visual Studio IDE and >> Resharper. I am using build #256. >> >> Thanks, >> Krishna >
Hello Krishna,
is the problem consistently repeatable? Thanks.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Yes it does, I was not able to submit the exception to the Tracking Center
but I've pasted the exception below :-
JetBrains.ReSharper.Util.InternalErrorException: An exception has
occurred ---> System.AccessViolationException: Attempted to read or write
protected memory. This is often an indication that other memory is corrupt.
at Microsoft.VisualStudio.Shell.Interop.IVsProject2.OpenItem(UInt32
itemid, Guid& rguidLogicalView, IntPtr punkDocDataExisting, IVsWindowFrame&
ppWindowFrame)
at
JetBrains.ReSharper.EditorManager.VSIntegration.VSEditorManager.CreateTextControlForFile(IProjectFile
file, Boolean activate) in
c:\Agent\work\ReSharper2.0\src\VSAddin\src\EditorManager\VSEditorManager.cs:line
236
at
JetBrains.ReSharper.EditorManager.VSIntegration.VSEditorManager.OpenProjectFile(IProjectFile
file, Boolean activate) in
c:\Agent\work\ReSharper2.0\src\VSAddin\src\EditorManager\VSEditorManager.cs:line
79
at
JetBrains.ReSharper.CodeInsight.Navigator.TextControlNavigationResult.Show(Boolean
activate) in
c:\Agent\work\ReSharper2.0\src\IDECore\src\Navigation\TextControlNavigationResult.cs:line
49
at
JetBrains.ReSharper.Navigation.Navigator.PopupListProvider.Action(Object
item) in
c:\Agent\work\ReSharper2.0\src\IDECore\src\Navigation\Navigator.cs:line 156
at
JetBrains.ReSharper.UI.MultipleAlternativesProcessor.Run(IPopupListProvider
popupListProvider, IPositionProvider positionProvider, String
noItemsMessage, Boolean skipOneItem) in
c:\Agent\work\ReSharper2.0\src\IDECore\src\UI\MultipleAlternativesProcessor.cs:line
36
--- End of inner exception stack trace ---
at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String,
Boolean) in c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 327
column 9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in
c:\Agent\work\ReSharper2.0\src\Util\src\Logger.cs:line 339 column 5
at
JetBrains.ReSharper.UI.MultipleAlternativesProcessor.Run(IPopupListProvider,
IPositionProvider, String, Boolean) in
c:\Agent\work\ReSharper2.0\src\IDECore\src\UI\MultipleAlternativesProcessor.cs:line
40 column 11
at JetBrains.ReSharper.Navigation.Navigator.Navigate(IDeclaredElement,
Boolean, Boolean, IPositionProvider) in
c:\Agent\work\ReSharper2.0\src\IDECore\src\Navigation\Navigator.cs:line 105
column 5
at
JetBrains.ReSharper.CodeInsight.MiscActions.PopupListProvider.Action(Object)
in
c:\Agent\work\ReSharper2.0\src\CodeInsight\src\MiscActions\GotoDeclarationUtil.cs:line
143 column 7
at
JetBrains.ReSharper.UI.MultipleAlternativesProcessor.Run(IPopupListProvider,
IPositionProvider, String, Boolean) in
c:\Agent\work\ReSharper2.0\src\IDECore\src\UI\MultipleAlternativesProcessor.cs:line
36 column 11
at
JetBrains.ReSharper.UI.MultipleAlternativesProcessor.Run(IPopupListProvider,
IPositionProvider, String) in
c:\Agent\work\ReSharper2.0\src\IDECore\src\UI\MultipleAlternativesProcessor.cs:line
17 column 4
at JetBrains.ReSharper.CodeInsight.MiscActions.HyperLink.Navigate() in
c:\Agent\work\ReSharper2.0\src\CodeInsight\src\MiscActions\ControlClick.cs:line
95 column 11
at JetBrains.ReSharper.CodeInsight.MiscActions.ControlClick.OnMouse(Object,
HookEventArgs) in
c:\Agent\work\ReSharper2.0\src\CodeInsight\src\MiscActions\ControlClick.cs:line
172 column 9
at JetBrains.UI.Interop.WindowsHook.CoreHookProc(Int32, IntPtr, IntPtr) in
c:\Agent\work\ReSharper2.0\src\JetBrainsShared\Interop\WindowHook.cs:line
132 column 7
at Microsoft.VisualStudio.Shell.Interop.IVsProject2.OpenItem(UInt32, Guid&,
IntPtr, IVsWindowFrame&)
at
JetBrains.ReSharper.EditorManager.VSIntegration.VSEditorManager.CreateTextControlForFile(IProjectFile,
Boolean) in
c:\Agent\work\ReSharper2.0\src\VSAddin\src\EditorManager\VSEditorManager.cs:line
236 column 9
at
JetBrains.ReSharper.EditorManager.VSIntegration.VSEditorManager.OpenProjectFile(IProjectFile,
Boolean) in
c:\Agent\work\ReSharper2.0\src\VSAddin\src\EditorManager\VSEditorManager.cs:line
79 column 11
at
JetBrains.ReSharper.CodeInsight.Navigator.TextControlNavigationResult.Show(Boolean)
in
c:\Agent\work\ReSharper2.0\src\IDECore\src\Navigation\TextControlNavigationResult.cs:line
49 column 7
at JetBrains.ReSharper.Navigation.PopupListProvider.Action(Object) in
c:\Agent\work\ReSharper2.0\src\IDECore\src\Navigation\Navigator.cs:line 157
column 6
at
JetBrains.ReSharper.UI.MultipleAlternativesProcessor.Run(IPopupListProvider,
IPositionProvider, String, Boolean) in
c:\Agent\work\ReSharper2.0\src\IDECore\src\UI\MultipleAlternativesProcessor.cs:line
36 column 11
at JetBrains.ReSharper.Navigation.Navigator.Navigate(IDeclaredElement,
Boolean, Boolean, IPositionProvider) in
c:\Agent\work\ReSharper2.0\src\IDECore\src\Navigation\Navigator.cs:line 105
column 5
at
JetBrains.ReSharper.CodeInsight.MiscActions.PopupListProvider.Action(Object)
in
c:\Agent\work\ReSharper2.0\src\CodeInsight\src\MiscActions\GotoDeclarationUtil.cs:line
143 column 7
at
JetBrains.ReSharper.UI.MultipleAlternativesProcessor.Run(IPopupListProvider,
IPositionProvider, String, Boolean) in
c:\Agent\work\ReSharper2.0\src\IDECore\src\UI\MultipleAlternativesProcessor.cs:line
36 column 11
at
JetBrains.ReSharper.UI.MultipleAlternativesProcessor.Run(IPopupListProvider,
IPositionProvider, String) in
c:\Agent\work\ReSharper2.0\src\IDECore\src\UI\MultipleAlternativesProcessor.cs:line
17 column 4
at JetBrains.ReSharper.CodeInsight.MiscActions.HyperLink.Navigate() in
c:\Agent\work\ReSharper2.0\src\CodeInsight\src\MiscActions\ControlClick.cs:line
95 column 11
at JetBrains.ReSharper.CodeInsight.MiscActions.ControlClick.OnMouse(Object,
HookEventArgs) in
c:\Agent\work\ReSharper2.0\src\CodeInsight\src\MiscActions\ControlClick.cs:line
172 column 9
at JetBrains.UI.Interop.WindowsHook.CoreHookProc(Int32, IntPtr, IntPtr) in
c:\Agent\work\ReSharper2.0\src\JetBrainsShared\Interop\WindowHook.cs:line
132 column 7
"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d91b684d8c8892c25ddce34@news.intellij.net...
>
>
>
>
>> Hi ,
>>
>> When trying to use the Ctrl-Click option to Navigation to a type or
>> function declaration and if the file is currently open but not in the
>> visible set of tabs (in VS 2005 the number of tabs currently visible
>> is limited by screen size, you can have more files open but only a few
>> are visible, you would need to use the drop down on the top to
>> activate a file that's not currently visible), Resharper is trying to
>> open the file again and it crashes both the Visual Studio IDE and
>> Resharper. I am using build #256.
>>
>> Thanks,
>> Krishna
>