| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 3 | 2 | 0.972 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 519 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java |
| 2 | 2 | 573 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java |
| 3 | 2 | 717 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java |
| ||||
if ( !isSuspended()) {
// Checking isSuspended here eliminates a race condition in resume
// between the time stack frames are preserved and the time the
// underlying thread is actually resumed.
requestFailed(JDIDebugModelMessages.JDIThread_Unable_to_retrieve_stack_frame___thread_not_suspended__1, null, IJavaThread.ERR_THREAD_NOT_SUSPENDED);
}
|
| ||||
if ( !canRunEvaluation()) {
requestFailed(JDIDebugModelMessages.JDIThread_Evaluation_failed___thread_not_suspended, null, IJavaThread.ERR_THREAD_NOT_SUSPENDED);
}
|
| ||||
if ( !isSuspended()) {
requestFailed(JDIDebugModelMessages.JDIThread_Evaluation_failed___thread_not_suspended, null, IJavaThread.ERR_THREAD_NOT_SUSPENDED);
}
|
| |||
if ( ! [[#variable543355e0]]()) {
// Checking isSuspended here eliminates a race condition in resume
// between the time stack frames are preserved and the time the
// underlying thread is actually resumed.
requestFailed(JDIDebugModelMessages. [[#variable543358e0]], null, IJavaThread.ERR_THREAD_NOT_SUSPENDED);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#543355e0]] | canRunEvaluation |
| 1 | 2 | [[#543355e0]] | isSuspended |
| 1 | 3 | [[#543355e0]] | isSuspended |
| 2 | 1 | [[#543358e0]] | JDIThread_Evaluation_failed___thread_not_suspended |
| 2 | 2 | [[#543358e0]] | JDIThread_Unable_to_retrieve_stack_frame___thread_not_suspended__1 |
| 2 | 3 | [[#543358e0]] | JDIThread_Evaluation_failed___thread_not_suspended |