When adding option trace: inside a proc, Maple display trace of all assignments. I only want to see the --> enter and <-- exit messages,.
I can't figure how to do that. Any suggestions?
Maple 2022 on windows
> |
A := module()
export foo:=proc(n,m,k)
option trace:
local r;
r:=n:
B:-boo(r);
end proc:
end module:
B := module()
export boo:=proc(n)
option trace:
local k;
k:=n;
RETURN();
end proc:
end module:
|
> |
#kernelopts(tracelineinfo=2);
#printlevel := 10:
kernelopts(traceincidentalassign=false):
kernelopts(tracesplitmulassign=false):
kernelopts(traceshowspecassign=false):
kernelopts(traceincidentalassign=false):
kernelopts(tracesplitmulassign=false):
kernelopts(traceshowspecassign=false):
kernelopts(tracelineinfo=0):
A:-foo(1,2,diff(y(x),x)=sin(x))
|
{--> enter foo, args = 1, 2, diff(y(x), x) = sin(x)

{--> enter boo, args = 1

<-- exit boo (now in foo) = }
<-- exit foo (now at top level) = }
|
Download trace_june_14_2023.mw