Skip to content

Commit

Permalink
Add action names for simulation mode trace dumps (#767)
Browse files Browse the repository at this point in the history
Add action names for simulation mode trace dumps

Related to GitHub issue #666
#666

[Feature][TLC]
  • Loading branch information
tangruize committed Oct 8, 2022
1 parent 79b38ca commit ddde2e9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,10 @@ public StateVec get() {
}
}.get();
for (int idx = 0; idx < stateTrace .size(); idx++) {
Action curAction = stateTrace.elementAt(idx).getAction();
if (curAction != null) {
pw.println("\\* " + curAction.getLocation());
}
pw.println("STATE_" + (idx + 1) + " == ");
pw.println(stateTrace.elementAt(idx) + "\n");
}
Expand Down

0 comments on commit ddde2e9

Please sign in to comment.