Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tlatools
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
tlatools
Commits
372d86b7
Commit
372d86b7
authored
Feb 27, 2018
by
Markus Alexander Kuppe
Browse files
Options
Downloads
Patches
Plain Diff
Always check deadlocks in trace exploration.
[Bug][Toolbox]
parent
5d15bde3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
org.lamport.tla.toolbox.tool.tlc/src/org/lamport/tla/toolbox/tool/tlc/job/TraceExplorerJob.java
+5
-2
5 additions, 2 deletions
...rg/lamport/tla/toolbox/tool/tlc/job/TraceExplorerJob.java
with
5 additions
and
2 deletions
org.lamport.tla.toolbox.tool.tlc/src/org/lamport/tla/toolbox/tool/tlc/job/TraceExplorerJob.java
+
5
−
2
View file @
372d86b7
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment