Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
House.M.D
聚石@taobao.comhttps://github.com/zhongl
他是一位 诊断 技艺精湛的医生
话说 诊断 技艺精湛的程序员会是...
System.out.println("debugging");
LOG.debug("debugging");
信息打印总不全有木有?又要改代码 > 编译 > 部署, 有木有?多来几次想屎的心有木有?
工欲善其事,必先利其器
BTrace神器降临, 一秒钟变高富帅!
Invocation InterceptionProfileJStackContextDTraceJMapJInfoHistogramMemoryFileSocket
甜蜜中略带苦涩, 幸福中稍显忧伤
https://gist.github.com/zhongl/5625338ClassNotFoundException
https://gist.github.com/zhongl/5625366StackOverflowError
不用IDE写脚本很苦逼, 有木有?总是要调整几次脚本才见效, 有木有?多来几次尿都憋不住了, 有木有?
HouseMD交互式命令行
$ housemd <jvm pid>INFO : Welcome to HouseMD 0.2.4INFO : connection established on 54321housemd> _
`trace TraceTarget.addOne`
`trace TraceTarget$C+`trace sub class
`trace -d TraceTarget$C+`get args and return
`trace -s TraceTarget$C+`get invocation StackTrace
Demo
http://github.com/csug/housemd
Tips & Traps
limit < 100timeout < 3`trace` with `-l -t`
trace unknown sub class instance`trace` with `Xxx+`
SimpleName conflict`trace` with `-p com.xxx`
INFO: Ended by error`last` for error ending
class loaded by who from where`loaded` for class info
port conflict`housemd -p <port>`
Emacs edit mode, power by jline2`Ctrl + r` for history search
Backspace do not workLinux mode in SecureCRT
chmod +w /tmpNo echo cause by privilege
housemd -h> help [command]test casesissuesMore help !!!
https://github.com/CSUG/HouseMD/wiki/DevGuideCNContribute to HouseMD
Intro CSUG
Thanks
Scala In HouseMDTODO
Upcoming SlideShare
Loading in …5
×

Housemd

548 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

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

×