maude-help AT lists.siebelschool.illinois.edu
Subject: Maude-help mailing list
List archive
[[maude-help] ] Debugging Maude finding matching problems
- From: Guilherme Horta Alvares Da Silva <alvares AT chalmers.se>
- To: "maude-help AT cs.uiuc.edu" <maude-help AT cs.uiuc.edu>
- Subject: [[maude-help] ] Debugging Maude finding matching problems
- Date: Thu, 10 Jul 2025 16:30:01 +0000
I want to debug my Maude program and I want it to show in every equation why it does not pattern match.
For example:
```
fmod EX is
sort Nat .
op z : -> Nat [ctor] .
op s_ : Nat -> Nat [ctor iter] .
op f : Nat -> Nat .
var x : Nat .
eq f(z) = z .
endfm
set break on .
break select f .
debug red f(s z) .
```
I would like it to break in the equation f(z), and just says that
s z does not match
z.
This example is trivial, but I need this feature for more complex examples. I usually have to manually do a lot of
match commands.
Thank you for reading this question. I didn't find anything the solution in the documentation.
-
[[maude-help] ] Debugging Maude finding matching problems,
Guilherme Horta Alvares Da Silva, 07/10/2025
- Re: [[maude-help] ] Debugging Maude finding matching problems, Paco DurĂ¡n, 07/14/2025
Archive powered by MHonArc 2.6.24.