If I use term_expansion/2 like this:
term_expansion(createWritelnPredicate(PredicateName), [ (NewPredicateHead :- writeln(TextToWriteln)) ]) :- NewPredicateHead =.. [PredicateName, TextToWriteln] . createWritelnPredicate(test99).
Is there a way to view the generated source for the rule test99 in gxref/0? If I click on that name in that tool, it just takes me to the line:
not the generated source.
I’m trying to set a breakpoint inside the generated source. Is there a way to do that?