Andreas Tscharner avatar Andreas Tscharner committed f0ac90c

Add some debug information to the main compiler file

Comments (0)

Files changed (1)

src/compiler/lrc.cxx

 //      lrc.cxx
 //
-//      Copyright 2011, 2012 Andreas Tscharner <andy@vis.ethz.ch>
+//      Copyright 2011-2013 Andreas Tscharner <andy@vis.ethz.ch>
 //
 //      This program is free software; you can redistribute it and/or modify
 //      it under the terms of the GNU Lesser General Public License as
  * and then the collector which creates the .rdf file
  *
  * \author Andreas Tscharner
- * \date 2012-05-06
+ * \date 2013-09-08
  */
 
 
 				rdfFile = new char[strlen(optarg)+1];
 				memset(rdfFile, 0, (strlen(optarg)+1));
 				strncpy(rdfFile, optarg, (strlen(optarg)));
+				DEBUG_PRINT(("Output file: %s\n", rdfFile))
 				break;
 
 			case 'c' :
 				compressType = new char[strlen(optarg)+1];
 				memset(compressType, 0, (strlen(optarg)+1));
 				strncpy(compressType, optarg, (strlen(optarg)));
+				DEBUG_PRINT(("Compression type: %s\n", compressType))
 				break;
 
 			case 'e' :
 				encryptType = new char[strlen(optarg)+1];
 				memset(encryptType, 0, (strlen(optarg)+1));
 				strncpy(encryptType, optarg, (strlen(optarg)));
+				DEBUG_PRINT(("Encryption type: %s\n", encryptType))
 				break;
 
 			case 'p' :
 				pwdStr = new char[strlen(optarg)+1];
 				memset(pwdStr, 0, (strlen(optarg)+1));
 				strncpy(pwdStr, optarg, (strlen(optarg)));
+				DEBUG_PRINT(("Password string: %s\n", pwdStr))
 				break;
 
 			case 'd' :
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.