Suppose MyApp`Func1
is a function inside the package MyApp
. How do I prevent Trace[Func1[x]]
from displaying everything inside Func1
(or what's inside any MyApp
functions)?
SetAttributes[MyApp`Func1, {ReadProtected, Locked}]
appears to do the job. but then I can't modify options of Func1
with SetOptions
.
Trace[Func1[x]]
to display if not the functions that are called inside it? After all, that's whatTrace
is for. $\endgroup$Protected
there should be no problem. $\endgroup$Locked
function that you don't want read. $\endgroup$