In this lesson, you will learn about fixing program errors through debugging 在本課中,您將學(xué)習(xí)如何通過(guò)調(diào)試修復(fù)程序錯(cuò)誤。
Tracking down and fixing programming errors in an application under development -檢測(cè)到正在開(kāi)發(fā)的應(yīng)用程序中的編程錯(cuò)誤并修正這些錯(cuò)誤。
But far worse, there are actual programming errors that will crash the short script 更糟的是,其中還有實(shí)際編程錯(cuò)誤,這會(huì)破壞短的腳本。
The third type of programming error, logic errors, can be the most difficult to discover 還有一種編程錯(cuò)誤是邏輯錯(cuò)誤,這種錯(cuò)誤是最難發(fā)現(xiàn)的。
Garbage collection eliminates memory leaks as well as some other common programming errors 垃圾回收消除了內(nèi)存泄漏以及其他一些常見(jiàn)的編程錯(cuò)誤。
Describes how to avoid common programming errors that lead to insecure and unreliable applications 說(shuō)明如何避免會(huì)導(dǎo)致應(yīng)用程序不安全和不可靠的常見(jiàn)編程錯(cuò)誤。
Compile-time checks identify many programming errors that go undetected in other progamming languages 編譯時(shí)可檢查許多種編程錯(cuò)誤,這在其它語(yǔ)言中是無(wú)法檢查到的。
If a thread has memory problems, the most likely cause is programming error, such as infinite recursion 如果某個(gè)線程有內(nèi)存問(wèn)題,則最可能的原因?yàn)榫幊体e(cuò)誤(如無(wú)限遞歸)。
Experience with database design shows that schemas are most useful as a safeguard against programming errors 數(shù)據(jù)庫(kù)設(shè)計(jì)的經(jīng)驗(yàn)表明,模式作為避免編程錯(cuò)誤的防護(hù)措施很有用。
Item 40 : use checked exceptions for recoverable conditions and runtime exceptions for programming errors 第40條:為可恢復(fù)的條件使用檢查型異常,為編程錯(cuò)誤使用運(yùn)行時(shí)異常。