Skip to content

Commit 33ee711

Browse files
committed
Added debug statements.
1 parent ce0bcab commit 33ee711

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gdlgstream.hpp

+4
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ class GDLGStream: public plstream
233233
}
234234

235235
static bool checkPlplotDriver(const char *driver) {
236+
// debug pipeline -> Remove before merge
237+
fprintf(stderr, "Checking driver dir: %s\n", driver);
236238
int numdevs = 128;
237239
const char **devlongnames = (const char**) malloc(numdevs * sizeof (char*));
238240
const char **devnames = (const char**) malloc(numdevs * sizeof (char*));
@@ -244,6 +246,8 @@ class GDLGStream: public plstream
244246
break;
245247
}
246248
}
249+
// debug pipeline -> Remove before merge
250+
fprintf(stderr, "Checking driver dir '%s' reported driver found: %d\n", driver, found);
247251
free(devlongnames);
248252
free(devnames);
249253
return found;

0 commit comments

Comments
 (0)