天天看點

吐槽Visual Studio 2010

1、服務端的try catch中後半部分有個地方有問題,但卻死活跟進不了try塊。

2、在用戶端調用服務端的函數,在用戶端的代碼中用try catch包了起來,但還是進不去try塊。

小注:

        對于上面兩種情況,可以采取将try catch塊中代碼,逐行注釋,再跟蹤,應該就可以跟蹤進去了。

以上兩種情況,vs有可能會這麼提示:

情況a:

吐槽Visual Studio 2010

情況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、

繼續閱讀