Eclipse - showing full call stack (like when it hits breakpoint in debugger) without putting in breakpoints?

前端 未结 6 1223
春和景丽
春和景丽 2020-12-09 11:06

I\'m working with a legacy Java app that is new to me so one way to figure out how it works and find things easier, I have thought would be to be able to get the full stack

6条回答
  •  青春惊慌失措
    2020-12-09 11:47

    You could always run the application with the VM arg of -verbose:class. You could then watch the console output and see what classes the VM is loading when you perform a particular action. This could possibly give you a starting place for where to place breakpoints. This won't always work depending on the scenario, but may be helpful.

提交回复
热议问题