Changeset 1870 for trunk/org.modelica.mdt.debug.core/src/org/modelica/mdt
- Timestamp:
- 02/06/15 15:57:21 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt.debug.core/src/org/modelica/mdt/debug/gdb/core/mi/MISession.java
r1869 r1870 141 141 fGDBInferior = new GDBInferior(this); 142 142 // logging 143 fLogFile = new File(ResourcesPlugin.getWorkspace().getRoot().getLocation().toOSString() + "/debuggerlog.txt"); 143 String temp = System.getProperty("java.io.tmpdir"); 144 String username = System.getenv("USER"); 145 if (username == null) { 146 username = "nobody"; 147 } 148 fLogFile = new File(temp + "/debuggerlog." + username + ".txt"); 144 149 fLogFileWriter = new BufferedWriter(new FileWriter(fLogFile)); 145 150
Note: See TracChangeset
for help on using the changeset viewer.