Ignore:
Timestamp:
02/06/15 15:57:21 (10 years ago)
Author:
adeas31
Message:
  • Generate debugger log file in temp.
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  
    141141        fGDBInferior = new GDBInferior(this);
    142142        // 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");
    144149        fLogFileWriter = new BufferedWriter(new FileWriter(fLogFile));
    145150       
Note: See TracChangeset for help on using the changeset viewer.