吐槽Visual Studio 2010
1、服務端的try catch中後半部分有個地方有問題,但卻死活跟進不了try塊。
2、在客戶端調用服務端的函數,在客戶端的代碼中用try catch包了起來,但還是進不去try塊。
小注:
對於上麵兩種情況,可以采取將try catch塊中代碼,逐行注釋,再跟蹤,應該就可以跟蹤進去了。
以上兩種情況,vs有可能會這麼提示:
情況A:
情況B:
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException:
Server was unable to process request.
---> System.TypeLoadException:
中文版本提示:System.MissingMethodException: 找不到方法:...
英文版本提示:System.MissingMethodException: Method not found:...
情況C:
異常信息(異常類型:Genersoft.Platform.Core.Error.GSPException)
異常信息:Communication with the underlying transaction manager has failed.
3、打開winform界麵,提示缺少某個控件,重啟一下vs,又不提示了!
小注:對於上麵這種情況,提示控件缺失之類的問題,一定要重啟一下vs2010,看看效果。
4、
最後更新:2017-04-03 12:55:02