How to debug TLAPM

37 views
Skip to first unread message

Karolis Petrauskas

unread,
Jul 6, 2020, 8:50:11 AM7/6/20
to tla...@googlegroups.com
Good day,

I have encountered a TLAPM bug (crash) and filled an issue for it:
https://github.com/tlaplus/tlapm/issues/8

I would like to debug the situation and hopefully submit a pull
request with a fix. Is there a common workflow on how to perform such
a debugging? Should I build & install tlapm for each iteration and use
it from the toolbox, or is there simpler ways to do that?

Karolis

Markus Kuppe

unread,
Jul 6, 2020, 1:05:56 PM7/6/20
to tla...@googlegroups.com
This is what worked for me: https://asciinema.org/a/307459

M.

Karolis Petrauskas

unread,
Jul 7, 2020, 4:25:53 AM7/7/20
to tla...@googlegroups.com
Thanks, the debugger works.

Although the bug looks like a race-condition. It does not occur, if I
step over breakpoints not fast enough. I'm a bit lost for now.

Karolis
> --
> You received this message because you are subscribed to the Google Groups "tlaplus" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/20c2d863-db85-0093-10ee-40bd9acda124%40lemmster.de.
Reply all
Reply to author
Forward
0 new messages