Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Debugging challenges

Posted on 2014-03-25
2
Medium Priority
?
263 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 36

Accepted Solution

by:
mccarl earned 2000 total points
ID: 39954872
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
ID: 40007531
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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

824 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