• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 287
  • Last Modified:

Debugging challenges

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
gudii9
Asked:
gudii9
1 Solution
 
mccarlIT Business Systems Analyst / Software DeveloperCommented:
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
 
gudii9Author Commented:
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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now