in

Darkthread

黑暗執行緒
All Tags » Debug » .NET (RSS)

Browse by Tags

Sorry, but there are no more tags available to filter with.
  • KB-誰在叫我? .NET程式呼叫歷程的追蹤

    在某些情況下,我們會想知道自己的程式碼被誰所呼叫,例如: 當某個共用函數發生錯誤時,若可知是哪一個類別呼叫這個函數時出錯,將十分有助於Debug。 各位應該都看過.NET Debug Build在出錯時,會顯示所謂的Call Stack(即Exception物件的StackTrace屬性),例如: X:\>labs.exe Unhandled Exception: System.DivideByZeroException: Attempted to divide by zero. at Labs.Program.Lab0818() in F:\Documents and Settings...
    公佈在 黑暗執行緒 (Weblog)Jeffrey 發表於 08-17-2006
第1頁,共1頁 (1個項目)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems