我是completely stuck。評估需要一個線程臨時運行。使用觀察窗口執行評估
A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll
A first chance exception of type 'System.Threading.ThreadAbortException' occurred in System.Runtime.Remoting.dll
Evaluation requires a thread to run temporarily. Use the Watch window to perform the evaluation.
是什麼意思:當試圖運行在VS 2010中的即時窗口的方法我測試MetaTrader API和得到下一個錯誤?它可能是因爲運行時版本差異(api 2.0,app 4.0)而發生的嗎?
聽起來很有希望,但我做了一個測試,發現:只有當應用程序的目標是4.0時纔會發生,沒有2.0/3.5的情況!怎麼會這樣?不同的線程/線程調試模型? – abatishchev 2010-11-26 06:58:35
可能是。老實說,我對VS如何調試.NET運行時知之甚少。也許這個線程的情況在3.5中是允許的,但是無論什麼原因在4.0中被認爲是危險的? *聳肩*對不起,我不能更有幫助... – 2010-11-26 11:25:33
無論如何感謝有趣的假設和建議! :) – abatishchev 2010-11-26 20:12:36