Solved

Debugging challenges

Posted on 2014-03-25
2
206 Views
Last Modified: 2014-04-29
Debugging multi-threaded applications can be tricky because whenever one thread reaches a break-point, all other threads also stopped.

Intermittent issues arising from improper implementation of equals( ) or hashCode( ) methods or data related require a more thorough debugging.


I was reading as above  about Debugging challenges.

i have not understood clearly what it means.
please advise
Any links resources ideas highly appreciated. Thanks in advance
0
Comment
Question by:gudii9
2 Comments
 
LVL 35

Accepted Solution

by:
mccarl earned 500 total points
Comment Utility
Well that information that you are reading, is not related to Java at least...
Debugging multi-threaded applications can be tricky because whenever one thread reaches a break-point, all other threads also stopped
The above is NOT true, for Java applications. If you have a breakpoint in one thread that breaks execution, all other threads continue to run.

However, the general point they are trying to make still holds. Debugging multi-threaded applications is more difficult generally than single threaded apps, because there is generally some interaction between the different threads, and this is hard to keep track of when one thread is paused but others continue to run.
0
 
LVL 7

Author Comment

by:gudii9
Comment Utility
Intermittent issues arising from improper implementation of equals( ) or hashCode( ) methods or data related require a more thorough debugging.


What kind of intermittent issues comes with 'implementation of equals( ) or hashCode()'

Please advise
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now