Steps to Debug JavaCode in Business Studio:
1. Create a Java Program and a BW process that uses the Java Program in 6.x Studio.
2. Define the Business logic in the function and put a breakpoint in the Java Program accordingly. (Multiple breakpoints can be used for debugging)
3. While trying to debug the BW process, Goto Advanced->Check the Launch JDT Debugger to get the Debug Perspective for Java Program.
4. In the Debug perspective-Debug Tab, we can see Suspended Thread where the breakpoint is used in Java Program and the execution is halted. (Note: By default in the debug perspective we can see the businessWorks Jobs, we will have to manually select the debug tab to view the java threads).
5.Once the thread is resumed, the program and process completes execution
6. Check the console logs also for analysis.