代码之家  ›  专栏  ›  技术社区  ›  Zev Spitz

解决方案资源管理器按特定关键字筛选导致崩溃[重复]

  •  1
  • Zev Spitz  · 技术社区  · 9 年前

    解决方案资源管理器中的某些搜索导致Visual Studio崩溃:

    filterchanged
    filter
    fil
    

    其他搜索工作正常。我已尝试重建解决方案,重置所有设置,删除 .suo 文件夹。

    当我附加一个调试器(VisualStudio的新实例)时,ExceptionHelper会说这是一个AggregateException——根本没有帮助。我无法找到更多细节。

    我可以做什么来调试这个?

    1 回复  |  直到 9 年前
        1
  •  1
  •   Community CDub    7 年前

    除了关键词是 delete 这似乎解决了我的问题: Visual Studio 2015 is crashing when searching from Solution Explorer .

    我还注意到它在/SafeMode中工作正常。

    问题行:

    Public Event ObjectDeleted(ByVal aString As String)


    解决方法是用事件处理程序替换代理:

    Public Delegate Sub MyEventHandler(ByVal s As String)

    并使用如下方式:

    Public Event test As MyEventHandler

    我在此处向Microsoft提交了一个错误: https://connect.microsoft.com/VisualStudio/feedback/details/2449669/visual-studio-crashes-when-you-type-delete-into-the-solution-explorer-search

    还发现了此错误: https://connect.microsoft.com/VisualStudio/feedback/details/1606999/vs-2015-professional-crash-when-searching-from-solution-explorer

    希望这有帮助:)