Skip to content
Snippets Groups Projects
Commit ca8eb807 authored by Ivica Ico Bukvic's avatar Ivica Ico Bukvic
Browse files

added verbose error reporting (based on Iohannes Zmoelnig's patch) on console...

added verbose error reporting (based on Iohannes Zmoelnig's patch) on console from tcl side in case something is missing on startup (e.g. tkpng package).
parent 9c7b9b69
No related branches found
No related tags found
No related merge requests found
......@@ -582,6 +582,7 @@ void pdgui_doevalfile(Tcl_Interp *interp, char *s)
if (Tcl_EvalFile(interp, buf) != TCL_OK)
{
char buf2[1000];
printf("error in file %s line %d: %s\n", buf, interp->errorLine, Tcl_GetStringResult(interp));
sprintf(buf2, "puts [concat tcl: %s: can't open script]\n",
buf);
tcl_mess(buf2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment