eclipseデバッガを活用するための31のtips

Download Eclipseデバッガを活用するための31のtips

If you can't read please download the document

Upload: hiroki-kondo

Post on 28-May-2015

23.188 views

Category:

Technology


8 download

TRANSCRIPT

2. JavaEclipse Tips Q&A https:// github.com/kompiro/debug-donutstore 13929 3. 13929 4. Q1. 13929 5. 1. 13929 6. 2. Debug Launcher 13929 7. 3. (Yes) 13929 8. 4. 13929 9. 5. (Debug) 13929 10. Q2. Thanks @yujiorama 13929 11. A. 13929 12. Q3. 13929 13. A. 13929 14. Display() Expressions() 2 13929 15. Q4. 13929 16. A1.(Variables) 13929 17. A2. Inspect 1.(:store) 2. Inspect 13929 18. A3. (Expressions) 1.(:donuts) 2. Watch 13929 19. 13929 20. Q5. 13929 21. A1. 1. 2.->Change Value... 13929 22. A2. (Display) 1.Display(Window->Views->Display) 2.Execute 13929 23. Q6. 13929 24. A1. 1.Shift+ 13929 25. A1. 1.Skip All Breakpoints 13929 26. Q7. 13929 27. A1.Step Into(F5) OK 13929 28. A2.Step Over(F6) OK 13929 29. A3.Step Return(F7) OK 13929 30. A4.Resume(F8) OK 13929 31. A5.Run to Line(Ctrl+R) (Mac:Command+R) 13929 32. A6.Toggle Breakpoint(Ctrl+Shift+B) / (Mac:Command+Shift+B) 13929 33. A7.Disable Breakpoint(Shift+Double Click) 13929 34. A8.Debug(F11) (Mac:Command+F11) 13929 35. Q8. 13929 36. A. 13929 37. Q9. 13929 38. A./ 13929 39. Q10. 13929 40. A. 13929 41. Q11. 13929 42. A. 13929 43. Q12.main 13929 44. A1.main 13929 45. A2. 13929 46. Q13.methodreturn 13929 47. A. 13929 48. Q14. 13929 49. A. 13929 50. 13929 51. Q15. 13929 52. A. ( ) 13929 53. Q16. 13929 54. A. JVM JDWP(Java Debug Wire Protocol) JVM (ant) JVM 13929 55. A. -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost=44000 13929 56. A. -agentlib:jdwp JDWP transport Windows server yJVM y suspend y address -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost=44000 13929 57. A. Debug Configurations...() 13929 58. Q17.main 13929 59. A. suspend=y -agentlib:jdwp JDWP transport Windows server yJVM y suspend y address -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost=44000 13929 60. Q18.Step Over 13929 61. A.Drop to Frame Frame 13929 62. A.Drop to Frame :DBstatic 13929 63. Q19. 13929 64. A.Frame FrameValuables 13929 65. Q20. Thanks @n3104 13929 66. A. DonutsStore [Java Application]! ! debug.DonutsStore at localhost:51724! ! ! Thread [main] (Suspended)! ! ! ! DonutsStore.welcome() line: 17! ! ! ! Customer.enter(DonutsStore) line: 17! ! ! ! DonutsStore.main(String[]) line: 10! ! /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/java (2013/09/25 21:46:02)! 13929 67. Q21. 13929 68. A.BreakpointHit Count 13929 69. Q22. 13929 70. A.Breakpoint true 13929 71. Q23. 13929 72. A.Breakpoint 13929 73. Q24. 13929 74. A.Show References 13929 75. Q25. 13929 76. A.Detail Formatter 13929 77. Q26. sun.*java.* Step In 13929 78. A.Step Filtering 13929 79. Q27. 13929 80. A. 13929 81. Q28. 13929 82. A.VM 13929 83. Q29. 13929 84. A. 13929 85. Q30. Thanks @matobaa 13929 86. A. 13929 87. A. 13929 88. Q31. 13929 89. A. 13929 90. [email protected] 13929 91. () @shuji_w6e, @yujiorama, @n3104, @matobaa 13929