Getting a clue at / debug a huge Java Swing App I've inherited

前端 未结 1 1901
情深已故
情深已故 2020-12-22 00:50

I\'ve been given the task to implement a new end-user functionality into a Java/Swing application. The task to implement is relatively easy and straightforward. What is cumb

相关标签:
1条回答
  • 2020-12-22 01:39

    In NetBeans, I use File > New Project > Java Project with Existing Sources to allow easy navigation. Most IDEs have a similar feature.

    • Use Run > Generate Javadoc; even without comments, the Overview, Index, Use and Tree links may be useful.

    • Set breakpoints in the debugger and use Window > Debugging > Call Stack to answer question like, "How did I get here.

    • Run the code in the integrated Profile > Profile Project mode to see principle execution threads.

    0 讨论(0)
提交回复
热议问题