Hi,
Theide in Mac OSX Catalina (I don't know if the problem exists also on other versions) doesn't create
the log file.
I tried with DLOG and RLOG, but nothing there.
It's a bug, or I'm doing something wrong ?
Ciao
Massimo
I guess you probably missed the last discussion about .config, .cache and sandboxing.
Long story short, if you are using Alt+L,
rebuild theide.
Mirek
mirek wrote on Tue, 14 April 2020 12:32
I guess you probably missed the last discussion about .config, .cache and sandboxing.
Yep, and I can't find it...
Quote:
Long story short, if you are using Alt+L,
???
Quote:
rebuild theide.
Mirek
Did a rebuild, but still no log file.
I've the theide.app inside Application folder. Where should the log file go ? Maybe it's e permisison problem here.
I guess you probably missed the last discussion about .config, .cache and sandboxing.
Long story short, if you are using Alt+L,
No, the log file IS there, where you pointed. The only problem is the grayed menu item.
String Ide::GetTargetLogPath() { if(target.GetCount() == 0) return Null; #ifdef PLATFORM_WIN32 return ForceExt(target, ".log"); #else String title = GetFileTitle(target); String pp; String h = GetFileFolder(target); while(h.GetCount() > 1 && DirectoryExists(h)) { String p = AppendFileName(h, ".config"); FindFile ff(p); if(ff && ff.IsFolder() && ff.CanWrite()) { pp = p; break; } h = GetFileFolder(h); } if(IsNull(pp)) pp = GetEnv("XDG_CONFIG_HOME"); if(IsNull(pp) || !DirectoryExists(pp)) pp = GetHomeDirFile(".config"); pp << "/u++/" << title << '/' << title << ".log"; return FileExists(pp) ? pp : GetHomeDirFile(".upp/" + title + "/" + title + ".log"); #endif }