Skip to content
Snippets Groups Projects
Commit 372d86b7 authored by Markus Alexander Kuppe's avatar Markus Alexander Kuppe
Browse files

Always check deadlocks in trace exploration.

[Bug][Toolbox]
parent 5d15bde3
No related branches found
No related tags found
No related merge requests found
...@@ -91,8 +91,11 @@ public class TraceExplorerJob extends TLCProcessJob ...@@ -91,8 +91,11 @@ public class TraceExplorerJob extends TLCProcessJob
protected boolean checkDeadlock() throws CoreException { protected boolean checkDeadlock() throws CoreException {
// We override this method in order to always make sure that deadlock is always // We override this method in order to always make sure that deadlock is always
// checked. This method simply removes "-deadlock" from the array of arguments, // checked. This method simply removes "-deadlock" from the array of arguments,
// if it is present in the super class implementation of this method. // if it is present in the super class implementation of this method. The trace
return false; // requests deadlock checking - which is turned on when "-deadlock" is NOT set -
// is to always print a counterexample. This counterexample contains the
// evaluated expressions defined in Error-Trace exploration.
return true;
} }
/* (non-Javadoc) /* (non-Javadoc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment