以前一直覺得Debuger很神祕,爲什麼進程可以attach/detach? 條件斷點是如何工作的?遠程debug會比本地debug慢嗎(因爲網絡開銷)?宇宙最強IDE visual studio背後運行的原理又有哪些?
讀完這個博主的文章也許能對部分這些問題解疑釋惑:
- https://eli.thegreenplace.net/2011/01/23/how-debuggers-work-part-1
- https://eli.thegreenplace.net/2011/01/27/how-debuggers-work-part-2-breakpoints
- https://eli.thegreenplace.net/2011/02/07/how-debuggers-work-part-3-debugging-information
另外,該作者每一篇文章都寫的很有深度,值得仔細閱讀。