EAGLE 7. ULP debug

(Firma: Golden Delicious Computers) #7450984
Lesenswert?
• ▲
▼

Debugger gibts nicht, aber man kann Status mit printf() in eine Datei schreiben. Die Datei wählt man mit output(). Dort kann man auch angeben ob angehängt werden soll.

Beispiel:

1
void PrintText(string s)
2
{
3
  printf("This also goes into the file: %s\n", s);
4
}
5
output("file.txt", "wt") {
6
  printf("Directly printed\n");
7
  PrintText("via function call");
8
  }

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren