MCPcopy Create free account
hub / github.com/Singular/Singular / VoiceBackTrack

Function VoiceBackTrack

Singular/fevoices.cc:77–89  ·  view source on GitHub ↗

2 * the calling chain of Voices */

Source from the content-addressed store, hash-verified

75* the calling chain of Voices
76*/
77void VoiceBackTrack()
78{
79 Voice *p=currentVoice;
80 while (p->prev!=NULL)
81 {
82 p=p->prev;
83 char *s=p->filename;
84 if (s==NULL)
85 PrintS("-- called from ? --\n");
86 else
87 Print("-- called from %s:%d --\n",s, p->curr_lineno);
88 }
89}
90
91/*2
92* init a new voice similar to the current

Callers 3

sigint_handlerFunction · 0.85
sdbFunction · 0.85
iiDebugFunction · 0.85

Calls 2

PrintSFunction · 0.85
PrintFunction · 0.50

Tested by

no test coverage detected