Housemd

342 views
267 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
342
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Housemd

  1. 1. House.M.D
  2. 2. 聚石@taobao.comhttps://github.com/zhongl
  3. 3. 他是一位 诊断 技艺精湛的医生
  4. 4. 话说 诊断 技艺精湛的程序员会是...
  5. 5. System.out.println("debugging");
  6. 6. LOG.debug("debugging");
  7. 7. 信息打印总不全有木有?又要改代码 > 编译 > 部署, 有木有?多来几次想屎的心有木有?
  8. 8. 工欲善其事,必先利其器
  9. 9. BTrace神器降临, 一秒钟变高富帅!
  10. 10. Invocation InterceptionProfileJStackContextDTraceJMapJInfoHistogramMemoryFileSocket
  11. 11. 甜蜜中略带苦涩, 幸福中稍显忧伤
  12. 12. https://gist.github.com/zhongl/5625338ClassNotFoundException
  13. 13. https://gist.github.com/zhongl/5625366StackOverflowError
  14. 14. 不用IDE写脚本很苦逼, 有木有?总是要调整几次脚本才见效, 有木有?多来几次尿都憋不住了, 有木有?
  15. 15. HouseMD交互式命令行
  16. 16. $ housemd <jvm pid>INFO : Welcome to HouseMD 0.2.4INFO : connection established on 54321housemd> _
  17. 17. `trace TraceTarget.addOne`
  18. 18. `trace TraceTarget$C+`trace sub class
  19. 19. `trace -d TraceTarget$C+`get args and return
  20. 20. `trace -s TraceTarget$C+`get invocation StackTrace
  21. 21. Demo
  22. 22. http://github.com/csug/housemd
  23. 23. Tips & Traps
  24. 24. limit < 100timeout < 3`trace` with `-l -t`
  25. 25. trace unknown sub class instance`trace` with `Xxx+`
  26. 26. SimpleName conflict`trace` with `-p com.xxx`
  27. 27. INFO: Ended by error`last` for error ending
  28. 28. class loaded by who from where`loaded` for class info
  29. 29. port conflict`housemd -p <port>`
  30. 30. Emacs edit mode, power by jline2`Ctrl + r` for history search
  31. 31. Backspace do not workLinux mode in SecureCRT
  32. 32. chmod +w /tmpNo echo cause by privilege
  33. 33. housemd -h> help [command]test casesissuesMore help !!!
  34. 34. https://github.com/CSUG/HouseMD/wiki/DevGuideCNContribute to HouseMD
  35. 35. Intro CSUG
  36. 36. Thanks
  37. 37. Scala In HouseMDTODO

×