The usage should be:

)trace DOMAIN )ops FUNCTION

Does this work in your case?

- Qian

On Fri, Feb 4, 2022, 2:45 PM Ralf Hemmecke <[email protected]> wrote:

> I have programmed a function f in some package P, how exactly can I
> trace that function. In my case
>
> )trace f
>
> does not work.
>
> (167) -> cuspToMatrix(cusp(0,1))
>
>            +0  - 1+
>     (167)  |      |
>            +1   0 +
>
> (168) -> )trace cuspToMatrix
> cuspToMatrix is not a function
>
>     Nothing is traced now.
>
> The description of ")help trace" suggests that I should add the complete
> internal name. But how to find out?
>
> The only thing I got to work was
>
> (168) -> )trace QEtaModularGammaPackage
>
>     Parameterized constructors traced:
>        QETAMGP
>
> The respective output shows
>
>   1<enter QEtaModularGammaPackage.etaCofactorInfinity,85 : 22\#(1
>
> which suggests the internal name, but otherwise the trace information is
> much to detailed to be useful in my case. And
>
> (168) -> )trace QEtaModularGammaPackage_.etaCofactorInfinity_,85
> QEtaModularGammaPackage.etaCofactorInfinity,85 is not a function
>
>     Nothing is traced now.
>
> (168) -> )trace QEtaModularGammaPackage.etaCofactorInfinity_,85
>
>     FriCAS does not understand the use of QEtaModularGammaPackage
>        etaCofactorInfinity,85 here.
>
> So what exactly would I have to put after the )trace command to trace
> function f from package/domain/category C?
>
> Thank you in advance.
> Ralf
>
> --
> You received this message because you are subscribed to the Google Groups
> "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/fricas-devel/d8f9ffbe-75f2-1298-d9e1-c5c1725f6fee%40hemmecke.org
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/CAGBJN905fiU9qU60VvypJXiMGQ%2BBMbY%2B9bYq0Kgvn0GwibeU6g%40mail.gmail.com.

Reply via email to