1.

How Do You Debug Your Application For Issues When Multiple Threads Are Being Executed?

Answer»

Following are some way to debug issues in multi-threaded applications in Java.

  •  By using logging and print statements along with thread names. In this way we can know about the flow of thread execution.
  •  With the use of debugging functionality AVAILABLE in Eclipse and JDeveloper.
  •  We can write a thread DUMP of the application which will give the information about the active threads at a point of time.
    This is most effective way for detecting deadlocks in PRODUCTION SYSTEMS.

Following are some way to debug issues in multi-threaded applications in Java.



Discussion

No Comment Found