Skip to content

Commit 85b96e6

Browse files
committed
Added debug statements.
1 parent 170e851 commit 85b96e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gdlgstream.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ class GDLGStream: public plstream
234234
}
235235

236236
static bool checkPlplotDriver(const char *driver) {
237+
// debug pipeline -> Remove before merge
238+
fprintf(stderr, "Checking driver dir: %s\n", driver);
237239
int numdevs = 128;
238240
const char **devlongnames = (const char**) malloc(numdevs * sizeof (char*));
239241
const char **devnames = (const char**) malloc(numdevs * sizeof (char*));
@@ -245,6 +247,8 @@ class GDLGStream: public plstream
245247
break;
246248
}
247249
}
250+
// debug pipeline -> Remove before merge
251+
fprintf(stderr, "Checking driver dir '%s' reported driver found: %d\n", driver, found);
248252
free(devlongnames);
249253
free(devnames);
250254
return found;

0 commit comments

Comments
 (0)