Skip to content

Instantly share code, notes, and snippets.

@ocadaruma
Created March 21, 2025 00:27
Show Gist options
  • Save ocadaruma/5cb71e82bb3dfb8081afbc285d1eb49e to your computer and use it in GitHub Desktop.
Save ocadaruma/5cb71e82bb3dfb8081afbc285d1eb49e to your computer and use it in GitHub Desktop.
TLCDebugger stuck issue
  1. Set breakpoint on Init line
  2. Start debugging in MC mode (i.e. not simulation mode)
  3. "Continue" twice
  4. After stopped, select 2nd stackframe
  5. => Gets stuck during retrieving trace variable!!
INIT Init
NEXT Next
INVARIANT Inv
---- MODULE test ----
EXTENDS Naturals
VARIABLES x
Init == x = 0
Next == x' = x + 1
Inv == x # 3
====
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment