'Debug java application in eclipse without using debugger
I am working on project that is not having debug options in eclipse.
I would like to understand the flow of execution from within Java classes across workspace.
Is there a method to understand the flow of execution. I am working on struts application and I have configured all dependant java files accordingly. But while running the application, new field added is not persisting to database and remains blank.
Any help is much appreciated.
Solution 1:[1]
lazy way of debugging is by adding a print statement for every line you want to follow. The right way would be using debug logs with Log4j
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Mohammed Amine Jallouli |
