Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
cb-crash-recover folder
tiwag:
the description in the crash-dialog says:
"The application encountered a crash at address %u.\n\n"
"A snapshot of the present state of Code::Blocks has been saved to the directory cb-crash-recover inside your 'My Files' folder.
Hopefully, this will prevent you from losing recent modifications.\n\n"
but in reality a new user-folder is created (at least) on Windoze-systems in the system "Document and Settings" folder
--- Code: ---LONG WINAPI CrashHandlerFunc(PEXCEPTION_POINTERS ExceptionInfo)
{
...
wxString path(ConfigManager::GetHomeFolder() + _T("cb-crash-recover"));
wxMkdir(ConfigManager::GetHomeFolder() + _T("cb-crash-recover"));
path << _T("/");
...
}
--- End code ---
e.g. my system
Username = Cad
then ConfigManager::GetHomeFolder() returns "C:\Dokumente und Einstellungen\Cad"
(without Backslash at the end)
and the files are backed up to "C:\Dokumente und Einstellungen\Cadcb-crash-recover"
following the description in the crash-dialog it should be backed up to
"C:\Dokumente und Einstellungen\Cad\Eigene Dateien\cb-crash-revover"
is this what was intended originally ?
otherwise the explanantion in the crash-dialog should be updated accordingly.
thx
tiwag
mandrav:
Yes, it was a bug. Fixed now.
tiwag:
its is better but not fixed
at least under Windoze it is NOT backuped to the folder where the description says ...
mandrav:
--- Quote ---Eigene Dateien
--- End quote ---
I don't know what that is :) (only suspect "Application Data").
Anyway, I just added the missing slash. Thomas knows which folder to save into is correct though, so let's wait for him to fix this (either by changing the message, or the dest folder).
tiwag:
--- Quote from: mandrav on August 28, 2006, 11:55:20 am ---
--- Quote ---Eigene Dateien
--- End quote ---
--- End quote ---
this is the german translation for "my files", i thought it would be obvious in the cited context ...
--- Quote from: mandrav on August 28, 2006, 11:55:20 am ---I don't know what that is :) (only suspect "Application Data").
Anyway, I just added the missing slash. Thomas knows which folder to save into is correct though, so let's wait for him to fix this (either by changing the message, or the dest folder).
--- End quote ---
the "Application Data" folder would be the best location i think
Navigation
[0] Message Index
[#] Next page
Go to full version