var names = [];
var libname = FSO.GetFileName(libpath);
- names.push(libname.replace(new RegExp("\\.lib$"), ".pdb"));
/* Within same .lib, everything should be bound to the same .pdb. No check
for every single object in the static libs. */
}
}
+ /* This is rather a fallback, if the bin has no debug section or
+ something went wrong with parsing. */
+ names.push(libname.replace(new RegExp("\\.lib$"), ".pdb"));
+
for (var k = 0; k < names.length; k++) {
var pdbname = names[k];