Editing XAML leads Visual Studio's Designer to crash

前端 未结 8 848
长情又很酷
长情又很酷 2021-01-03 21:43

Original Question


I\'m working on a WPF application with Visual Studio 2010, using Telerik.

I have been dealing with a lot of crashes ev

8条回答
  •  甜味超标
    2021-01-03 22:23

    I guess, your best bet is to debug Visual Studio!

    • Run Visual Studio (instance #1) and load your solution
    • Run a 2nd instance of Visual studio (#2)
    • From instance #2 go, Debug->Attach to process->Select devenv.exe (instance #1, make sure to select Managed debugging)
    • Then select Debug->Exception, press "Find.." and search for System.ArgumentNull then check "Thrown"
    • Go to instance #1, load your view in the designer, this should trigger a break point in instance #2 and it should show you a full stack trace. This information should be enough to identify the offending control/component..

提交回复
热议问题